aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/walletframe.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp
index 99a6647a65..8d6a1b387e 100644
--- a/src/qt/walletframe.cpp
+++ b/src/qt/walletframe.cpp
@@ -56,12 +56,9 @@ bool WalletFrame::handlePaymentRequest(const SendCoinsRecipient &recipient)
void WalletFrame::showOutOfSyncWarning(bool fShow)
{
- if (!walletStack) {
- QMessageBox box;
- box.setText("walletStack is null");
- box.exec();
+ if (!walletStack)
return;
- }
+
walletStack->showOutOfSyncWarning(fShow);
}