commit 6487db5e678133e74e9deaf1ad95e6f9131d992a
parent 409c34d1bf11602472f90385327f5a463dc24cd2
Author: ThomasV <thomasv@gitorious>
Date: Wed, 22 Apr 2015 10:57:13 +0200
fix: show expires combo if request list is empty
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -805,6 +805,9 @@ class ElectrumWindow(QMainWindow):
b = len(self.receive_requests) > 0
self.receive_list.setVisible(b)
self.receive_requests_label.setVisible(b)
+ if not b:
+ self.expires_label.hide()
+ self.expires_combo.show()
# check if it is necessary to show the account
self.receive_list.setColumnHidden(1, len(self.wallet.get_accounts()) == 1)