Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make same planes cannot be used twice in partition tool
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_ErrorDialog.cpp
diff --git
a/src/XGUI/XGUI_ErrorDialog.cpp
b/src/XGUI/XGUI_ErrorDialog.cpp
index ee076f1c4796c30840d58e5b5de55f207efdb139..d389e3b3f73d6a04ae35581c56f058acd5fe8ad2 100644
(file)
--- a/
src/XGUI/XGUI_ErrorDialog.cpp
+++ b/
src/XGUI/XGUI_ErrorDialog.cpp
@@
-8,6
+8,8
@@
*/
#include <XGUI_ErrorDialog.h>
*/
#include <XGUI_ErrorDialog.h>
+#include <ModuleBase_Tools.h>
+
#include <QDialogButtonBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QDialogButtonBox>
#include <QHBoxLayout>
#include <QLabel>
@@
-61,7
+63,7
@@
void XGUI_ErrorDialog::addError(const QString& theError)
if (!isVisible()) {
show();
raise();
if (!isVisible()) {
show();
raise();
-
activateWindow(
);
+
ModuleBase_Tools::activateWindow(this, "XGUI_ErrorDialog::addError"
);
}
}
}
}