Add hotkeys to clear debug log and entry (Ctrl+L / Ctrl+Shift+L)
This commit is contained in:
parent
d629ceb3b5
commit
0b2869660e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user