remove backspace to delete shortcut on macs

too many people activating it accidentally
This commit is contained in:
Damien Elmes 2014-10-10 17:59:18 +09:00
parent 77dfd63f1e
commit 1f178b869f

View File

@ -431,10 +431,6 @@ class Browser(QMainWindow):
self.delCut1 = QShortcut(QKeySequence("Delete"), self)
self.delCut1.setAutoRepeat(False)
c(self.delCut1, SIGNAL("activated()"), self.deleteNotes)
if isMac:
self.delCut2 = QShortcut(QKeySequence("Backspace"), self)
self.delCut2.setAutoRepeat(False)
c(self.delCut2, SIGNAL("activated()"), self.deleteNotes)
# add-on hook
runHook('browser.setupMenus', self)
self.mw.maybeHideAccelerators(self)