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:
parent
be7d0445a6
commit
ecd013bbb7
|
@ -1351,6 +1351,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
self.updatelabel = UpdateLabel(self.config, sb)
|
self.updatelabel = UpdateLabel(self.config, sb)
|
||||||
|
|
||||||
self.account_selector = QComboBox()
|
self.account_selector = QComboBox()
|
||||||
|
self.account_selector.setSizeAdjustPolicy(QComboBox.AdjustToContents)
|
||||||
self.connect(self.account_selector,SIGNAL("activated(QString)"),self.change_account)
|
self.connect(self.account_selector,SIGNAL("activated(QString)"),self.change_account)
|
||||||
sb.addPermanentWidget(self.account_selector)
|
sb.addPermanentWidget(self.account_selector)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue