URI: 
       tfix #3993 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit f6e627798a575a5d028c61c22f09f008bd93d3f3
   DIR parent e82838ecbb7b2a8ca3b776859100e680595e7efd
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Thu,  1 Mar 2018 15:44:44 +0100
       
       fix #3993
       
       Diffstat:
         M gui/qt/address_list.py              |       2 +-
         M gui/qt/history_list.py              |       3 +++
         M gui/qt/util.py                      |       2 +-
       
       3 files changed, 5 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/gui/qt/address_list.py b/gui/qt/address_list.py
       t@@ -50,7 +50,7 @@ class AddressList(MyTreeWidget):
                for t in [_('All'), _('Unused'), _('Funded'), _('Used')]:
                    self.used_button.addItem(t)
        
       -    def create_toolbar_buttons(self):
       +    def get_toolbar_buttons(self):
                return QLabel(_("Filter:")), self.change_button, self.used_button
        
            def on_hide_toolbar(self):
   DIR diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py
       t@@ -62,6 +62,7 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop):
                self.start_timestamp = None
                self.end_timestamp = None
                self.years = []
       +        self.create_toolbar_buttons()
        
            def format_date(self, d):
                return str(datetime.date(d.year, d.month, d.day)) if d else _('None')
       t@@ -115,6 +116,8 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop):
                self.end_button.setEnabled(False)
                self.period_combo.addItems([_('All'), _('Custom')])
                self.period_combo.activated.connect(self.on_combo)
       +
       +    def get_toolbar_buttons(self):
                return self.period_combo, self.start_button, self.end_button
        
            def on_hide_toolbar(self):
   DIR diff --git a/gui/qt/util.py b/gui/qt/util.py
       t@@ -524,7 +524,7 @@ class MyTreeWidget(QTreeWidget):
        
            def create_toolbar(self):
                hbox = QHBoxLayout()
       -        buttons = self.create_toolbar_buttons()
       +        buttons = self.get_toolbar_buttons()
                for b in buttons:
                    b.setVisible(False)
                    hbox.addWidget(b)