[Qt] Prevent balloon-spam after rescan

This commit is contained in:
Cozz Lovan
2014-07-13 10:19:56 +02:00
parent e8d4cb8071
commit acd432b5b3
3 changed files with 16 additions and 3 deletions

View File

@@ -137,7 +137,7 @@ void WalletView::setWalletModel(WalletModel *walletModel)
void WalletView::processNewTransaction(const QModelIndex& parent, int start, int /*end*/)
{
// Prevent balloon-spam when initial block download is in progress
if (!walletModel || !clientModel || clientModel->inInitialBlockDownload())
if (!walletModel || walletModel->processingQueuedTransactions() || !clientModel || clientModel->inInitialBlockDownload())
return;
TransactionTableModel *ttm = walletModel->getTransactionTableModel();