URI: 
       tthis should not be static - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 7ce6860f423256af6935c47495b94881f5836b7a
   DIR parent 8583f6a560b199f53b0db89fee62683c46504580
  HTML Author: thomasv <thomasv@gitorious>
       Date:   Tue, 14 Feb 2012 11:10:06 +0100
       
       tthis should not be static
       
       Diffstat:
         M client/gui_qt.py                    |       8 +++-----
       
       1 file changed, 3 insertions(+), 5 deletions(-)
       ---
   DIR diff --git a/client/gui_qt.py b/client/gui_qt.py
       t@@ -452,7 +452,6 @@ class ElectrumWindow(QMainWindow):
                self.setStatusBar(sb)
        
            def newaddress_dialog(self):
       -
                text, ok = QInputDialog.getText(self, 'New Contact', 'Address:')
                address = str(text)
                if ok:
       t@@ -467,7 +466,7 @@ class ElectrumWindow(QMainWindow):
            def show_seed_dialog(wallet, parent=None):
                import mnemonic
                if wallet.use_encryption:
       -            password = self.password_dialog()
       +            password = parent.password_dialog()
                    if not password: return
                else:
                    password = None
       t@@ -491,9 +490,8 @@ class ElectrumWindow(QMainWindow):
            def show_message(self, msg):
                QMessageBox.information(self, 'Message', msg, 'OK')
        
       -    @staticmethod
       -    def password_dialog( parent=None ):
       -        d = QDialog(parent)
       +    def password_dialog(self ):
       +        d = QDialog(self)
                d.setModal(1)
        
                pw = QLineEdit()