diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a4c624e..08b3e7c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -562,6 +562,10 @@ void MainWindow::postToZBoard() { void MainWindow::doImport(QList* keys) { if (keys->isEmpty()) { delete keys; + + QMessageBox::information(this, + "Imported", "The keys were imported. It may take several minutes to rescan the blockchain. Until then, functionality may be limited", + QMessageBox::Ok); ui->statusBar->showMessage("Private key import rescan finished"); return; } @@ -607,9 +611,6 @@ void MainWindow::importPrivKey() { // Start the import. The function takes ownership of keys doImport(keys); - QMessageBox::information(this, - "Imported", "The keys were imported. It may take several minutes to rescan the blockchain. Until then, functionality may be limited", - QMessageBox::Ok); } }