From 6d1a376659970faed8750b524d69aa8074b07664 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 6 Jul 2016 17:00:46 +0300 Subject: [PATCH] Fix #900 - MN tab option switch crash --- src/qt/bitcoingui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 653962217b..4a877cc93b 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -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);