tdo not add command to console history if it starts with a space - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit f0ec5a73ee6d232981f6239203d7dff21eb43d70 DIR parent 63c7a27d7e35b4ae13a5eeb2b673a841a8c25242 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 14 Dec 2014 16:53:40 +0100 do not add command to console history if it starts with a space Diffstat: M gui/qt/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/gui/qt/console.py b/gui/qt/console.py t@@ -144,7 +144,7 @@ class Console(QtGui.QPlainTextEdit): self.history = history def addToHistory(self, command): - if command.find("importprivkey") > -1: + if command[0:1] == ' ': return if command and (not self.history or self.history[-1] != command):