From dfd450f638f04a20f9552bb9a92ba9ac6422cde4 Mon Sep 17 00:00:00 2001 From: reionwong Date: Mon, 19 Jul 2021 16:11:42 +0800 Subject: [PATCH] Fix desktop backspace shortcut key --- qml/Desktop/Main.qml | 3 --- qml/Dialogs/CreateFolderDialog.qml | 2 +- qml/Dialogs/EmptyTrashDialog.qml | 2 +- qml/Dialogs/PropertiesDialog.qml | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/qml/Desktop/Main.qml b/qml/Desktop/Main.qml index 8f22052..6ce4437 100644 --- a/qml/Desktop/Main.qml +++ b/qml/Desktop/Main.qml @@ -171,9 +171,6 @@ Item { onSelectAll: { dirModel.selectAll() } - onBackspace: { - dirModel.up() - } onDeleteFile: { dirModel.keyDeletePress() } diff --git a/qml/Dialogs/CreateFolderDialog.qml b/qml/Dialogs/CreateFolderDialog.qml index 4cc86c3..1b4069a 100644 --- a/qml/Dialogs/CreateFolderDialog.qml +++ b/qml/Dialogs/CreateFolderDialog.qml @@ -39,7 +39,7 @@ Window { Rectangle { anchors.fill: parent - color: FishUI.Theme.backgroundColor + color: FishUI.Theme.secondBackgroundColor } ColumnLayout { diff --git a/qml/Dialogs/EmptyTrashDialog.qml b/qml/Dialogs/EmptyTrashDialog.qml index e59cdac..1d051de 100644 --- a/qml/Dialogs/EmptyTrashDialog.qml +++ b/qml/Dialogs/EmptyTrashDialog.qml @@ -45,7 +45,7 @@ Window { Rectangle { anchors.fill: parent - color: FishUI.Theme.backgroundColor + color: FishUI.Theme.secondBackgroundColor } ColumnLayout { diff --git a/qml/Dialogs/PropertiesDialog.qml b/qml/Dialogs/PropertiesDialog.qml index 6852a22..0291675 100644 --- a/qml/Dialogs/PropertiesDialog.qml +++ b/qml/Dialogs/PropertiesDialog.qml @@ -32,7 +32,7 @@ Window { Rectangle { anchors.fill: parent - color: FishUI.Theme.backgroundColor + color: FishUI.Theme.secondBackgroundColor } onVisibleChanged: {