Browse Source

Messagebox

recurring
adityapk00 6 years ago
parent
commit
5958b64d02
  1. 10
      src/connection.cpp

10
src/connection.cpp

@ -285,12 +285,6 @@ void Connection::doRPCIgnoreError(const json& payload, const std::function<void(
void Connection::showTxError(const QString& error) {
if (error.isNull()) return;
QMessageBox msg(main);
msg.setIcon(QMessageBox::Icon::Critical);
msg.setWindowTitle("Transaction Error");
msg.setText("There was an error sending the transaction. The error was: \n\n"
+ error);
msg.exec();
QMessageBox::critical(main, "Transaction Error", "There was an error sending the transaction. The error was: \n\n"
+ error, QMessageBox::StandardButton::Ok);
}

Loading…
Cancel
Save