From e63c997332891dec58266dfbc0abd1e02e6557cd Mon Sep 17 00:00:00 2001 From: motty Date: Fri, 27 Aug 2021 17:39:44 +0900 Subject: [PATCH] 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 --- src/qt/fujicoingui.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/qt/fujicoingui.cpp b/src/qt/fujicoingui.cpp index 8152a23f4f..a5b450980b 100644 --- a/src/qt/fujicoingui.cpp +++ b/src/qt/fujicoingui.cpp @@ -682,8 +682,6 @@ void FujicoinGUI::addWallet(WalletModel* walletModel) m_wallet_selector_label_action->setVisible(true); m_wallet_selector_action->setVisible(true); } - const QString display_name = walletModel->getDisplayName(); - m_wallet_selector->addItem(display_name, QVariant::fromValue(walletModel)); connect(wallet_view, &WalletView::outOfSyncWarningClicked, this, &FujicoinGUI::showModalOverlay); connect(wallet_view, &WalletView::transactionClicked, this, &FujicoinGUI::gotoHistoryPage);