Fix desktop shortcut

This commit is contained in:
cutefishd 2021-04-09 10:38:20 +08:00
parent 2757760c2b
commit 29ce0f551d

View file

@ -126,12 +126,8 @@ Item {
dirModel.paste() dirModel.paste()
else if (event.key === Qt.Key_F2) else if (event.key === Qt.Key_F2)
dirModel.requestRename() dirModel.requestRename()
else if (event.key === Qt.Key_L && event.modifiers & Qt.ControlModifier)
folderPage.requestPathEditor()
else if (event.key === Qt.Key_A && event.modifiers & Qt.ControlModifier) else if (event.key === Qt.Key_A && event.modifiers & Qt.ControlModifier)
dirModel.selectAll() dirModel.selectAll()
else if (event.key === Qt.Key_Backspace)
dirModel.up()
} }
} }