Browse Source

do not add command to console history if it starts with a space

283
ThomasV 10 years ago
parent
commit
f0ec5a73ee
  1. 2
      gui/qt/console.py

2
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):

Loading…
Cancel
Save