From 7c1d07c999de8c50723e19c7de3d45a87ac5b153 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 27 May 2013 21:18:29 +0200 Subject: [PATCH] fix indent --- plugins/qrscanner.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/qrscanner.py b/plugins/qrscanner.py index 36a849ad..fb2917d7 100644 --- a/plugins/qrscanner.py +++ b/plugins/qrscanner.py @@ -151,11 +151,11 @@ class Plugin(BasePlugin): d.exec_() def read_raw_qr(self): - qrcode = self.scan_qr() - if qrcode: - tx_dict = self.gui.tx_dict_from_text(qrcode) - if tx_dict: - self.create_transaction_details_window(tx_dict) + qrcode = self.scan_qr() + if qrcode: + tx_dict = self.gui.tx_dict_from_text(qrcode) + if tx_dict: + self.create_transaction_details_window(tx_dict) def create_transaction_details_window(self, tx_dict): @@ -183,7 +183,7 @@ class Plugin(BasePlugin): l.addWidget(QLabel(_("Wallet is de-seeded, can't sign.")), 4,1) else: l.addWidget(QLabel(_("Signed")), 3,1) - b = QPushButton("Broadcast transaction") + b = QPushButton("Broadcast transaction") b.clicked.connect(lambda: self.gui.send_raw_transaction(tx, dialog)) l.addWidget(b,4,1)