mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Fix #900 - MN tab option switch crash
This commit is contained in:
parent
025f0901c4
commit
6d1a376659
@ -630,7 +630,7 @@ void BitcoinGUI::setWalletActionsEnabled(bool enabled)
|
||||
receiveCoinsMenuAction->setEnabled(enabled);
|
||||
historyAction->setEnabled(enabled);
|
||||
QSettings settings;
|
||||
if (settings.value("fShowMasternodesTab").toBool()) {
|
||||
if (settings.value("fShowMasternodesTab").toBool() && masternodeAction) {
|
||||
masternodeAction->setEnabled(enabled);
|
||||
}
|
||||
encryptWalletAction->setEnabled(enabled);
|
||||
|
Loading…
Reference in New Issue
Block a user