mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-22 09:38:48 +02:00
Don't show donationNag on empty wallets
This commit is contained in:
@@ -1575,6 +1575,9 @@ void MainWindow::donationNag() {
|
||||
if (m_ctx->wallet->viewOnly())
|
||||
return;
|
||||
|
||||
if (m_ctx->wallet->balanceAll() == 0)
|
||||
return;
|
||||
|
||||
auto donationCounter = config()->get(Config::donateBeg).toInt();
|
||||
if (donationCounter == -1)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user