electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 5c1828e03d75f5a0005669e0975911cee3c68c6f
parent 68da937e89ba7622788fff8dd76fa5c9706b81ca
Author: Neil Booth <kyuupichan@gmail.com>
Date:   Tue, 22 Dec 2015 22:18:59 +0900

Install wizard -> window-modal, fix missing import

Diffstat:
Mgui/qt/installwizard.py | 6+++---
Mgui/qt/main_window.py | 9+++------
2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py @@ -62,17 +62,17 @@ class CosignWidget(QWidget): -class InstallWizard(QDialog): +class InstallWizard(WindowModalDialog): def __init__(self, app, config, network, storage): - QDialog.__init__(self) + title = 'Electrum' + ' - ' + _('Install Wizard') + WindowModalDialog.__init__(self, None, title=title) self.app = app self.config = config self.network = network self.storage = storage self.setMinimumSize(575, 400) self.setMaximumSize(575, 400) - self.setWindowTitle('Electrum' + ' - ' + _('Install Wizard')) self.connect(self, QtCore.SIGNAL('accept'), self.accept) self.stack = QStackedLayout() self.setLayout(self.stack) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -40,20 +40,17 @@ from electrum.i18n import _ from electrum.util import block_explorer, block_explorer_info, block_explorer_URL from electrum.util import format_satoshis, format_satoshis_plain, format_time from electrum.util import PrintError, NotEnoughFunds, StoreDict -from electrum import Transaction -from electrum import mnemonic +from electrum import Transaction, mnemonic from electrum import util, bitcoin, commands, Wallet from electrum import SimpleConfig, COIN_CHOOSERS, WalletStorage -from electrum import Imported_Wallet -from electrum import paymentrequest +from electrum import Imported_Wallet, paymentrequest from amountedit import BTCAmountEdit, MyLineEdit, BTCkBEdit from network_dialog import NetworkDialog from qrcodewidget import QRCodeWidget, QRDialog from qrtextedit import ScanQRTextEdit, ShowQRTextEdit from transaction_dialog import show_transaction - - +from installwizard import InstallWizard