URI: 
       tMerge pull request #6489 from verretor/console-remove-methods - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit fdaf6e775cdbe461a8466d1d7e46360c8a90e4d7
   DIR parent 531343814011fa6c67b4442267ceea7cf25f67db
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu, 27 Aug 2020 10:00:35 +0200
       
       Merge pull request #6489 from verretor/console-remove-methods
       
       Remove unused methods from Console
       Diffstat:
         M electrum/gui/qt/console.py          |      11 -----------
       
       1 file changed, 0 insertions(+), 11 deletions(-)
       ---
   DIR diff --git a/electrum/gui/qt/console.py b/electrum/gui/qt/console.py
       t@@ -175,12 +175,6 @@ class Console(QtWidgets.QPlainTextEdit):
                    else:
                        return command
        
       -    def getHistory(self):
       -        return self.history
       -
       -    def setHistory(self, history):
       -        self.history = history
       -
            def addToHistory(self, command):
                if command[0:1] == ' ':
                    return
       t@@ -212,11 +206,6 @@ class Console(QtWidgets.QPlainTextEdit):
                for i in range(len(self.prompt) + position):
                    self.moveCursor(QtGui.QTextCursor.Right)
        
       -    def register_command(self, c, func):
       -        methods = { c: func}
       -        self.updateNamespace(methods)
       -
       -
            def runCommand(self):
                command = self.getCommand()
                self.addToHistory(command)