From ac29f0372d6476aec42d9ecb8231031d9d73f65e Mon Sep 17 00:00:00 2001 From: abn Date: Thu, 16 Oct 2014 14:23:41 +0200 Subject: [PATCH] Minor bug fix for ALAMOS --- src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx index 22099f8e4..e6edb9d98 100644 --- a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx +++ b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx @@ -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; } /*! -- 2.39.2