work around broken debug console shortcut

this will likely break the shortcut on keyboards where : is not a
shifted ;. can revert when qt fixes the issue
This commit is contained in:
Damien Elmes 2016-12-15 21:00:59 +10:00
parent 9b6a21126d
commit fb81f63fe3

View file

@ -611,7 +611,7 @@ title="%s" %s>%s</button>''' % (
def setupKeys(self):
self.keyHandler = None
# debug shortcut
self.debugShortcut = QShortcut(QKeySequence("Ctrl+:"), self)
self.debugShortcut = QShortcut(QKeySequence("Ctrl+Shift+;"), self)
self.debugShortcut.activated.connect(self.onDebug)
def keyPressEvent(self, evt):