URI: 
       tfix #4266 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 5b2b59420f5032b32506b9e578312db5c4e4f9ba
   DIR parent dcf25f912136b7d5efef17fb47e310e2bea5c62e
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Sun, 15 Apr 2018 18:57:06 +0200
       
       fix #4266
       
       Diffstat:
         M gui/qt/history_list.py              |       3 +++
       
       1 file changed, 3 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py
       t@@ -65,6 +65,7 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop):
                self.end_timestamp = None
                self.years = []
                self.create_toolbar_buttons()
       +        self.wallet = None
        
            def format_date(self, d):
                return str(datetime.date(d.year, d.month, d.day)) if d else _('None')
       t@@ -301,6 +302,8 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop):
                    item.setText(3, label)
        
            def update_item(self, tx_hash, height, conf, timestamp):
       +        if self.wallet is None:
       +            return
                status, status_str = self.wallet.get_tx_status(tx_hash, height, conf, timestamp)
                icon = self.icon_cache.get(":icons/" +  TX_ICONS[status])
                items = self.findItems(tx_hash, Qt.UserRole|Qt.MatchContains|Qt.MatchRecursive, column=1)