mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-12 03:24:58 +00:00
PICARD-1712: use QtGui.QKeySequence.Delete for remove albums/files shortcut
This commit is contained in:
@@ -438,6 +438,7 @@ 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