Skip to content

Commit

Permalink
qt: Fix regression in "Encrypt Wallet" menu item
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fujicoin committed Aug 27, 2021
1 parent 3070608 commit e63c997
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/qt/fujicoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e63c997

Please sign in to comment.