6d1a376 Fix #900 - MN tab option switch crash
This commit is contained in:
parent
3c29252469
commit
9cb4dfca79
@ -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