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 } };