mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-23 07:15:29 +01:00
Fix wallet selector size adjustment
This commit is contained in:
parent
035f349371
commit
ca91661adf
2 changed files with 4 additions and 0 deletions
|
@ -485,6 +485,7 @@ void BitcoinGUI::createToolBars()
|
|||
toolbar->addWidget(spacer);
|
||||
|
||||
m_wallet_selector = new QComboBox();
|
||||
m_wallet_selector->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||
connect(m_wallet_selector, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &BitcoinGUI::setCurrentWalletBySelectorIndex);
|
||||
|
||||
m_wallet_selector_label = new QLabel();
|
||||
|
|
|
@ -453,6 +453,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="WalletSelector">
|
||||
<property name="sizeAdjustPolicy">
|
||||
<enum>QComboBox::AdjustToContents</enum>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>(none)</string>
|
||||
|
|
Loading…
Add table
Reference in a new issue