mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +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);
|
receiveCoinsMenuAction->setEnabled(enabled);
|
||||||
historyAction->setEnabled(enabled);
|
historyAction->setEnabled(enabled);
|
||||||
QSettings settings;
|
QSettings settings;
|
||||||
if (settings.value("fShowMasternodesTab").toBool()) {
|
if (settings.value("fShowMasternodesTab").toBool() && masternodeAction) {
|
||||||
masternodeAction->setEnabled(enabled);
|
masternodeAction->setEnabled(enabled);
|
||||||
}
|
}
|
||||||
encryptWalletAction->setEnabled(enabled);
|
encryptWalletAction->setEnabled(enabled);
|
||||||
|
Loading…
Reference in New Issue
Block a user