mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-28 10:06:33 +00:00
Show an error message when form loading fails.
This commit is contained in:
parent
e787ab9f75
commit
1016e23be9
1 changed files with 4 additions and 0 deletions
|
@ -261,6 +261,10 @@ namespace GeorgesQt
|
||||||
{
|
{
|
||||||
nlwarning("Failed to load form: %s", info.fileName().toUtf8().constData());
|
nlwarning("Failed to load form: %s", info.fileName().toUtf8().constData());
|
||||||
m_dockedWidgets.last()->close();
|
m_dockedWidgets.last()->close();
|
||||||
|
|
||||||
|
QMessageBox::information( this,
|
||||||
|
tr( "Failed to load form..." ),
|
||||||
|
tr( "Failed to load form '%1'" ).arg( info.fileName() ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue