]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Minor bug fix for ALAMOS
authorabn <adrien.bruneton@cea.fr>
Thu, 16 Oct 2014 12:23:41 +0000 (14:23 +0200)
committerabn <adrien.bruneton@cea.fr>
Thu, 16 Oct 2014 12:23:41 +0000 (14:23 +0200)
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;
 }
 
 /*!