1
0
Fork 0

GUI: fix bug if you execute msgyn and then an error

This commit is contained in:
Duncan Ogilvie 2020-07-28 12:54:05 +02:00
parent 2f27a26e43
commit 0329302c25
1 changed files with 1 additions and 0 deletions

View File

@ -474,6 +474,7 @@ void ScriptView::error(int line, QString message)
msg->setIcon(QMessageBox::Critical);
msg->setWindowTitle(title);
msg->setText(message);
msg->setStandardButtons(QMessageBox::Ok);
msg->setWindowIcon(DIcon("script-error.png"));
msg->show();
}