348@@ -349,7 +349,9 @@ void BitcoinGUI::createActions()
349 connect(encryptWalletAction, &QAction::triggered, walletFrame, &WalletFrame::encryptWallet);
350 connect(backupWalletAction, &QAction::triggered, walletFrame, &WalletFrame::backupWallet);
351 connect(changePassphraseAction, &QAction::triggered, walletFrame, &WalletFrame::changePassphrase);
352+ connect(signMessageAction, &QAction::triggered, [this]{ showNormalIfMinimized(); });
353 connect(signMessageAction, &QAction::triggered, [this]{ gotoSignMessageTab(); });
354+ connect(verifyMessageAction, &QAction::triggered, [this]{ showNormalIfMinimized(); });
355 connect(verifyMessageAction, &QAction::triggered, [this]{ gotoVerifyMessageTab(); });
I think this is better
0connect(signMessageAction, &QAction::triggered, [this]{ showNormalIfMinimized(); gotoSignMessageTab(); });
1connect(verifyMessageAction, &QAction::triggered, [this]{ showNormalIfMinimized(); gotoSignMessageTab(); });
Keeping multiple connections for now for consistency with other actions.
I assume the other actions are only done that way for historical reasons – prior to Qt5/C++11 this was not possible, and we only switched to using lambdas instead of the older syntax in 0.17 I believe.