URI: 
       tkivy: fix crash in show_private_key - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit c46f219d252cf13810922c44305026f279480abb
   DIR parent 786f9ce7ff8eab6355e2908a597828205ab5489e
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Fri, 10 Nov 2017 11:12:29 +0100
       
       kivy: fix crash in show_private_key
       
       Diffstat:
         M gui/kivy/main_window.py             |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py
       t@@ -944,6 +944,8 @@ class ElectrumWindow(App):
        
            def export_private_keys(self, pk_label, addr):
                def show_private_key(addr, pk_label, password):
       +            if self.wallet.has_password() and password is None:
       +                return
                    key = str(self.wallet.export_private_key(addr, password)[0])
                    pk_label.data = key
                self.protected(_("Enter your PIN code in order to decrypt your private key"), show_private_key, (addr, pk_label))