Skip to content

Commit

Permalink
move variable definitions at the top
Browse files Browse the repository at this point in the history
  • Loading branch information
ecdsa committed Oct 17, 2016
1 parent 98b1271 commit 27b4a8d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions gui/qt/main_window.py
Expand Up @@ -104,6 +104,14 @@ def __init__(self, gui_object, wallet):
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()
Expand Down Expand Up @@ -158,17 +166,9 @@ def __init__(self, gui_object, wallet):
# 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)
Expand Down

0 comments on commit 27b4a8d

Please sign in to comment.