electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit a5c6a570ae6842704b1fdd416c807dcf56688989
parent 8c1c07a290946d7d26c79e54631d068387b0d9dc
Author: SomberNight <somber.night@protonmail.com>
Date:   Sat, 14 Nov 2020 19:36:54 +0100

qt console: fix usage in --offline mode

fixes #6731
related: #6467

Diffstat:
Melectrum/gui/qt/console.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/electrum/gui/qt/console.py b/electrum/gui/qt/console.py @@ -59,6 +59,7 @@ class Console(QtWidgets.QPlainTextEdit): self.setWordWrapMode(QtGui.QTextOption.WrapAnywhere) self.setUndoRedoEnabled(False) self.document().setDefaultFont(QtGui.QFont(MONOSPACE_FONT, 10, QtGui.QFont.Normal)) + self.newPrompt("") # make sure there is always a prompt, even before first server.banner self.updateNamespace({'run':self.run_script}) self.set_json(False)