mirror of
https://github.com/fergalmoran/picard.git
synced 2026-03-21 20:55:08 +00:00
PICARD-1754: Removed QKeySequence.Delete shortcut for remove action
This reverts 84d8341. QKeySequence.Delete is still used for item removal on the itemview and metadatabox panes (see MainWindow.keyPressEvent). But if this action is registered globally item removal interfers with removing elements from MetadataBox.
This commit is contained in:
@@ -440,7 +440,6 @@ class MainWindow(QtWidgets.QMainWindow, PreserveGeometry):
|
||||
|
||||
self.remove_action = QtWidgets.QAction(icontheme.lookup('list-remove'), _("&Remove"), self)
|
||||
self.remove_action.setStatusTip(_("Remove selected files/albums"))
|
||||
self.remove_action.setShortcut(QtGui.QKeySequence.Delete)
|
||||
self.remove_action.setEnabled(False)
|
||||
self.remove_action.triggered.connect(self.remove)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user