diff --git a/electrum/gui/qt/console.py b/electrum/gui/qt/console.py index 248fec9b7..68dbe9275 100644 --- a/electrum/gui/qt/console.py +++ b/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)