Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c46bd4f
)
PAL12662: salome_test.py execution crashes Salome on some stations.
author
jfa
<jfa@opencascade.com>
Tue, 20 Jun 2006 13:21:00 +0000
(13:21 +0000)
committer
jfa
<jfa@opencascade.com>
Tue, 20 Jun 2006 13:21:00 +0000
(13:21 +0000)
src/SMESHGUI/SMESHGUI_Swig.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_Swig.cxx
b/src/SMESHGUI/SMESHGUI_Swig.cxx
index 219b409a747d92af9ce272cd3b03b72149733981..ed71b6d4302eacac695a6fd65e4f43e4a2f1066a 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Swig.cxx
+++ b/
src/SMESHGUI/SMESHGUI_Swig.cxx
@@
-49,6
+49,9
@@
// Open CASCADE Includes
#include <TopoDS.hxx>
+// QT Includes
+#include <qapplication.h>
+
// IDL Headers
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_Gen)
@@
-376,6
+379,8
@@
SMESH_Swig::Init(int theStudyID)
}
mySComponentMesh = SALOMEDS::SComponent::_narrow(aSComponent);
+
+ qApp->processEvents(); // Workaround for bug 12662
}
};