mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 08:21:27 +00:00
Install wizard -> window-modal, fix missing import
This commit is contained in:
parent
68da937e89
commit
5c1828e03d
2 changed files with 6 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue