From 21f505a62c45c607045b63f030431d7ef4e6a7e2 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 12 Jun 2015 05:06:23 +0200 Subject: [PATCH] fix #1290 --- gui/qt/transaction_dialog.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py index d2f592089..0bc584beb 100644 --- a/gui/qt/transaction_dialog.py +++ b/gui/qt/transaction_dialog.py @@ -177,10 +177,11 @@ class TxDialog(QWidget): else: self.date_label.hide() - # if we are not synchronized, we cannot tell + # cannot broadcast when offline if self.parent.network is None: - self.broadcast_button.disable() # cannot broadcast when offline - return + self.broadcast_button.setEnabled(False) + + # if we are not synchronized, we cannot tell if not self.wallet.up_to_date: return