Skip to content

Commit e63c997

Browse files
committed
qt: Fix regression in "Encrypt Wallet" menu item
Adding a new item to the m_wallet_selector must follow the establishment of signal-slot connections. Github-Pull: bitcoin-core/gui#393 Rebased-From: d54d94959869b0c363939163b99ba0475751dcb6
1 parent 3070608 commit e63c997

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/qt/fujicoingui.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,8 +682,6 @@ void FujicoinGUI::addWallet(WalletModel* walletModel)
682682
m_wallet_selector_label_action->setVisible(true);
683683
m_wallet_selector_action->setVisible(true);
684684
}
685-
const QString display_name = walletModel->getDisplayName();
686-
m_wallet_selector->addItem(display_name, QVariant::fromValue(walletModel));
687685

688686
connect(wallet_view, &WalletView::outOfSyncWarningClicked, this, &FujicoinGUI::showModalOverlay);
689687
connect(wallet_view, &WalletView::transactionClicked, this, &FujicoinGUI::gotoHistoryPage);

0 commit comments

Comments
 (0)