From: imn Date: Fri, 27 Mar 2015 14:47:48 +0000 (+0300) Subject: INT PAL 0052623: OCC view blinking when using polyline sketcher X-Git-Tag: V7_6_0a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4e6de8b5254a1546d9d6aa5119513c8902a00cf2;p=modules%2Fgui.git INT PAL 0052623: OCC view blinking when using polyline sketcher --- diff --git a/src/Qtx/QtxWorkstack.cxx b/src/Qtx/QtxWorkstack.cxx index 99c776061..b4abe7b8f 100644 --- a/src/Qtx/QtxWorkstack.cxx +++ b/src/Qtx/QtxWorkstack.cxx @@ -953,6 +953,11 @@ void QtxWorkstackArea::customEvent( QEvent* e ) { case ActivateWidget: myBar->updateActiveState(); + // IMN 27/03/2015: This workaround caused by the bug INT PAL 0052623: OCC view blinking when + // using polyline sketcher which is reproduced on Unix systems with qt-4.8.4. + myStack->setUpdatesEnabled( false ); + updateCurrent(); + myStack->setUpdatesEnabled( true ); emit activated( activeWidget() ); break; case FocusWidget: