URI: 
       tprotect history from importprivkey - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit b26187666b74fe1f89e59fcb6cf01c33e887be42
   DIR parent a320f92023cbb2108fe3a03f40afb1f89c193484
  HTML Author: thomasv <thomasv@gitorious>
       Date:   Sun, 15 Sep 2013 17:57:51 +0200
       
       protect history from importprivkey
       
       Diffstat:
         M gui/gui_classic/qt_console.py       |       3 +++
       
       1 file changed, 3 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/gui/gui_classic/qt_console.py b/gui/gui_classic/qt_console.py
       t@@ -142,6 +142,9 @@ class Console(QtGui.QPlainTextEdit):
                self.history = history
        
            def addToHistory(self, command):
       +        if command.find("importprivkey") > -1:
       +            return
       +        
                if command and (not self.history or self.history[-1] != command):
                    self.history.append(command)
                self.history_index = len(self.history)