Salome HOME
Minor bug fix for ALAMOS
[modules/gui.git] / src / SALOME_PYQT / SalomePyQt / SalomePyQt.cxx
index 22099f8e4f2e951baef141de383a00394294f8f5..e6edb9d988be2be0a08b015e062438d59d73dac0 100644 (file)
@@ -2657,7 +2657,9 @@ public:
 };
 int SalomePyQt::createView( const QString& type, bool visible, const int width, const int height )
 {
-  return ProcessEvent( new TCreateView( type, visible, width, height ) );
+  int ret = ProcessEvent( new TCreateView( type, visible, width, height ) );
+  QCoreApplication::processEvents();
+  return ret;
 }
 
 /*!