URI: 
       tstore qt-console-history in wallet file (fix #5563) - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 2b52ee26e64b56b364e9dc3ed2150fceef925e08
   DIR parent 95383a582062c975d1da6e435378eca6418b8830
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Sun, 25 Aug 2019 11:39:11 +0200
       
       store qt-console-history in wallet file (fix #5563)
       
       Diffstat:
         M electrum/gui/qt/main_window.py      |       5 ++---
       
       1 file changed, 2 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py
       t@@ -2168,7 +2168,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
        
            def update_console(self):
                console = self.console
       -        console.history = self.config.get("console-history",[])
       +        console.history = self.wallet.storage.get("qt-console-history", [])
                console.history_index = len(console.history)
        
                console.updateNamespace({
       t@@ -3364,8 +3364,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
                    g = self.geometry()
                    self.wallet.storage.put("winpos-qt", [g.left(),g.top(),
                                                          g.width(),g.height()])
       -        self.config.set_key("console-history", self.console.history[-50:],
       -                            True)
       +        self.wallet.storage.put("qt-console-history", self.console.history[-50:])
                if self.qr_window:
                    self.qr_window.close()
                self.close_wallet()