URI: 
       tfix keystore in settings dialog - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 472210885ab94dbe76c456460031063845233a45
   DIR parent 8cb6ba992aa2d013fa63692f24b5cb47a4c8abee
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Sun, 28 Aug 2016 10:57:45 +0200
       
       fix keystore in settings dialog
       
       Diffstat:
         M plugins/trezor/qt_generic.py        |       6 ++----
       
       1 file changed, 2 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/plugins/trezor/qt_generic.py b/plugins/trezor/qt_generic.py
       t@@ -217,7 +217,7 @@ class QtPlugin(object):
            def show_settings_dialog(self, window, keystore):
                device_id = self.choose_device(window, keystore)
                if device_id:
       -            SettingsDialog(window, self, device_id).exec_()
       +            SettingsDialog(window, self, keystore, device_id).exec_()
        
            def choose_device(self, window, keystore):
                '''This dialog box should be usable even if the user has
       t@@ -320,15 +320,13 @@ class SettingsDialog(WindowModalDialog):
            We want users to be able to wipe a device even if they've forgotten
            their PIN.'''
        
       -    def __init__(self, window, plugin, device_id):
       +    def __init__(self, window, plugin, keystore, device_id):
                title = _("%s Settings") % plugin.device
                super(SettingsDialog, self).__init__(window, title)
                self.setMaximumWidth(540)
        
                devmgr = plugin.device_manager()
                config = devmgr.config
       -        wallet = window.wallet
       -        keystore = wallet.keystore
                handler = keystore.handler
                thread = keystore.thread
                hs_rows, hs_cols = (64, 128)