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.

This commit is contained in:
Darrin Daigle 2014-03-27 10:23:30 -05:00
parent be7d0445a6
commit ecd013bbb7
1 changed files with 1 additions and 0 deletions

View File

@ -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)