Add hotkeys to clear debug log and entry (Ctrl+L / Ctrl+Shift+L)

This commit is contained in:
Glutanimate 2019-02-16 10:31:35 +01:00
parent d629ceb3b5
commit 0b2869660e

View File

@ -1180,6 +1180,10 @@ will be lost. Continue?"""))
s = self.debugDiagShort = QShortcut(
QKeySequence("ctrl+shift+return"), d)
s.activated.connect(lambda: self.onDebugPrint(frm))
s = self.debugDiagShort = QShortcut(QKeySequence("ctrl+l"), d)
s.activated.connect(frm.log.clear)
s = self.debugDiagShort = QShortcut(QKeySequence("ctrl+shift+l"), d)
s.activated.connect(frm.text.clear)
d.show()
def _captureOutput(self, on):