From 40baa7d141b715d665b8a10d7b7aae33917fc51b Mon Sep 17 00:00:00 2001 From: SHTDJ <36552562+SHTDJ@users.noreply.github.com> Date: Sun, 22 Apr 2018 22:23:14 +0200 Subject: [PATCH] Fixed Multisend dialog to show settings properly Multisend will display a message if it has only been enabled for masternodes and if its enabled for both (Displaying this didnt work if multisend was only enabled for masternodes) --- src/qt/multisenddialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/qt/multisenddialog.cpp b/src/qt/multisenddialog.cpp index 8f3f0a2993830..b57651b7745e0 100644 --- a/src/qt/multisenddialog.cpp +++ b/src/qt/multisenddialog.cpp @@ -70,9 +70,11 @@ void MultiSendDialog::on_viewButton_clicked() std::pair pMultiSend; std::string strMultiSendPrint = ""; if (pwalletMain->isMultiSendEnabled()) { - if (pwalletMain->fMultiSendStake) - strMultiSendPrint += "MultiSend Active for Stakes\n"; + if (pwalletMain->fMultiSendStake && pwalletMain->fMultiSendMasternodeReward) + strMultiSendPrint += "MultiSend Active for Stakes and Masternode Reward\n"; else if (pwalletMain->fMultiSendStake) + strMultiSendPrint += "MultiSend Active for Stakes\n"; + else if (pwalletMain->fMultiSendMasternodeReward) strMultiSendPrint += "MultiSend Active for Masternode Rewards\n"; } else strMultiSendPrint += "MultiSend Not Active\n";