]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL12662: salome_test.py execution crashes Salome on some stations.
authorjfa <jfa@opencascade.com>
Tue, 20 Jun 2006 13:21:00 +0000 (13:21 +0000)
committerjfa <jfa@opencascade.com>
Tue, 20 Jun 2006 13:21:00 +0000 (13:21 +0000)
src/SMESHGUI/SMESHGUI_Swig.cxx

index 219b409a747d92af9ce272cd3b03b72149733981..ed71b6d4302eacac695a6fd65e4f43e4a2f1066a 100644 (file)
@@ -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
     }
   };