From 06890db43012d78ba7bfd2fab013170e1bf364db Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 20 Jun 2006 13:21:00 +0000 Subject: [PATCH] PAL12662: salome_test.py execution crashes Salome on some stations. --- src/SMESHGUI/SMESHGUI_Swig.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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 } }; -- 2.39.2