X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Workshop.cpp;h=1b48c4e081c1d7fc1f2c17e73c3f2782cfd49d62;hb=f530a0928f384dd0026b275930858fe6f71dab2f;hp=bce40c01f32782febc749882f3c1c122cdc3e1af;hpb=a2842944364eb110dfb81b3252e34820cce8c628;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index bce40c01f..1b48c4e08 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -873,7 +873,7 @@ ModuleBase_IModule* XGUI_Workshop::loadModule(const QString& theModule) if (!err.isEmpty()) { if (mainWindow()) { - QMessageBox::warning(mainWindow(), tr("Error"), err); + Events_Error::send(err.toStdString()); } else { qWarning(qPrintable(err)); }