|
|
@ -244,13 +244,13 @@ MainWindow::MainWindow(QWidget *parent) : |
|
|
|
QJsonObject parsed = jd_reply.object(); |
|
|
|
|
|
|
|
if (parsed.isEmpty() || parsed["result"].isNull()) { |
|
|
|
QMessageBox::warning(this, tr("Failed to save wallet"), |
|
|
|
tr("Couldn't save the wallet") + "\n" + reply, |
|
|
|
QMessageBox::warning(this, tr("Failed to save wallet"), |
|
|
|
tr("Couldn't save the wallet") + "\n" + "server=" + config->server + "\n" + reply, |
|
|
|
QMessageBox::Ok); |
|
|
|
|
|
|
|
} else { |
|
|
|
qDebug() << __func__ << ": saved wallet correctly"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
dialog.close(); |
|
|
|
// To rescan, we clear the wallet state, and then reload the connection
|
|
|
|