Browse Source

qt console: fix copying text using Ctrl+C

follow-up #6643
patch-4
SomberNight 4 years ago
parent
commit
082b2b3585
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/gui/qt/console.py

3
electrum/gui/qt/console.py

@ -292,7 +292,8 @@ class Console(QtWidgets.QPlainTextEdit):
elif event.key() == QtCore.Qt.Key_L and event.modifiers() == QtCore.Qt.ControlModifier:
self.clear()
elif event.key() == QtCore.Qt.Key_C and event.modifiers() == QtCore.Qt.ControlModifier:
self.keyboard_interrupt()
if not self.textCursor().selectedText():
self.keyboard_interrupt()
super(Console, self).keyPressEvent(event)

Loading…
Cancel
Save