URI: 
       tMerge pull request #3330 from SomberNight/dbb_clear_dialog - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 0da1d4853bf368ab6631eea93eddd34d339e55fe
   DIR parent 43181aea0677fa5ba1c0af69e88d33588e839423
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Sat, 18 Nov 2017 17:35:57 +0100
       
       Merge pull request #3330 from SomberNight/dbb_clear_dialog
       
       digitalbitbox: delegate clear_dialog() calls to GUI thread
       Diffstat:
         M plugins/digitalbitbox/digitalbitbo… |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/plugins/digitalbitbox/digitalbitbox.py b/plugins/digitalbitbox/digitalbitbox.py
       t@@ -274,7 +274,7 @@ class DigitalBitbox_Client():
                                            "To continue, touch the Digital Bitbox's light for 3 seconds.\r\n\r\n" \
                                            "To cancel, briefly touch the light or wait for the timeout."))
                hid_reply = self.hid_send_encrypt(b'{"reset":"__ERASE__"}')
       -        self.handler.clear_dialog()
       +        self.handler.finished()
                if 'error' in hid_reply:
                    raise Exception(hid_reply['error']['message'])
                else:
       t@@ -300,7 +300,7 @@ class DigitalBitbox_Client():
                                                "To cancel, briefly touch the light or wait for the timeout."))
                msg = b'{"seed":{"source": "backup", "key": "%s", "filename": "%s"}}' % (key, backups['backup'][f].encode('utf8'))
                hid_reply = self.hid_send_encrypt(msg)
       -        self.handler.clear_dialog()
       +        self.handler.finished()
                if 'error' in hid_reply:
                    raise Exception(hid_reply['error']['message'])
                return True
       t@@ -432,7 +432,7 @@ class DigitalBitbox_KeyStore(Hardware_KeyStore):
                                                "To continue, touch the Digital Bitbox's blinking light for 3 seconds.\r\n\r\n" \
                                                "To cancel, briefly touch the blinking light or wait for the timeout."))
                    reply = dbb_client.hid_send_encrypt(msg) # Send twice, first returns an echo for smart verification (not implemented)
       -            self.handler.clear_dialog()
       +            self.handler.finished()
        
                    if 'error' in reply:
                        raise Exception(reply['error']['message'])
       t@@ -564,7 +564,7 @@ class DigitalBitbox_KeyStore(Hardware_KeyStore):
        
                        # Send twice, first returns an echo for smart verification
                        reply = dbb_client.hid_send_encrypt(msg)
       -                self.handler.clear_dialog()
       +                self.handler.finished()
        
                        if 'error' in reply:
                            raise Exception(reply['error']['message'])