commit f0ec5a73ee6d232981f6239203d7dff21eb43d70
parent 63c7a27d7e35b4ae13a5eeb2b673a841a8c25242
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:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/console.py b/gui/qt/console.py
@@ -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):