From: jfa Date: Tue, 20 Jun 2006 13:21:00 +0000 (+0000) Subject: PAL12662: salome_test.py execution crashes Salome on some stations. X-Git-Tag: T3_2_1_pre~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=06890db43012d78ba7bfd2fab013170e1bf364db;p=modules%2Fsmesh.git PAL12662: salome_test.py execution crashes Salome on some stations. --- diff --git a/src/SMESHGUI/SMESHGUI_Swig.cxx b/src/SMESHGUI/SMESHGUI_Swig.cxx index 219b409a7..ed71b6d43 100644 --- a/src/SMESHGUI/SMESHGUI_Swig.cxx +++ b/src/SMESHGUI/SMESHGUI_Swig.cxx @@ -49,6 +49,9 @@ // Open CASCADE Includes #include +// QT Includes +#include + // IDL Headers #include #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 } };