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