mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
move variable definitions at the top
This commit is contained in:
parent
98b12715a9
commit
27b4a8dd51
1 changed files with 9 additions and 9 deletions
|
@ -104,6 +104,14 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
|||
self.app = gui_object.app
|
||||
self.cleaned_up = False
|
||||
self.is_max = False
|
||||
self.payment_request = None
|
||||
self.checking_accounts = False
|
||||
self.qr_window = None
|
||||
self.not_enough_funds = False
|
||||
self.pluginsdialog = None
|
||||
self.require_fee_update = False
|
||||
self.tx_notifications = []
|
||||
self.tl_windows = []
|
||||
|
||||
self.create_status_bar()
|
||||
self.need_update = threading.Event()
|
||||
|
@ -158,17 +166,9 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
|||
# set initial message
|
||||
self.console.showMessage(self.network.banner)
|
||||
|
||||
self.payment_request = None
|
||||
self.checking_accounts = False
|
||||
self.qr_window = None
|
||||
self.not_enough_funds = False
|
||||
self.pluginsdialog = None
|
||||
self.fetch_alias()
|
||||
self.require_fee_update = False
|
||||
self.tx_notifications = []
|
||||
self.tl_windows = []
|
||||
self.load_wallet(wallet)
|
||||
self.connect_slots(gui_object.timer)
|
||||
self.fetch_alias()
|
||||
|
||||
def toggle_addresses_tab(self):
|
||||
show_addr = not self.config.get('show_addresses_tab', False)
|
||||
|
|
Loading…
Add table
Reference in a new issue