From ecd013bbb719bbdc6f8904d5ac7e8eb3c47fafde Mon Sep 17 00:00:00 2001 From: Darrin Daigle Date: Thu, 27 Mar 2014 10:23:30 -0500 Subject: [PATCH] Fixed size issue on account combo box in status panel. If you started Electrum with a wallet that did not have imported keys (therefore the account combo box didn't show), then you opened a wallet that had imported keys, the combo box was not wide enough to correctly display the combo box items. --- gui/qt/main_window.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 73eccb40..640ee273 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -1351,6 +1351,7 @@ class ElectrumWindow(QMainWindow): self.updatelabel = UpdateLabel(self.config, sb) self.account_selector = QComboBox() + self.account_selector.setSizeAdjustPolicy(QComboBox.AdjustToContents) self.connect(self.account_selector,SIGNAL("activated(QString)"),self.change_account) sb.addPermanentWidget(self.account_selector)