electrum

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

commit 27b4a8dd51aad674ed5127fd57f4748cd516c339
parent 98b12715a9b1740756d78f07d2e9c124fb66fb30
Author: ThomasV <thomasv@electrum.org>
Date:   Mon, 17 Oct 2016 07:11:27 +0200

move variable definitions at the top

Diffstat:
Mgui/qt/main_window.py | 18+++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -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)