From 4e6de8b5254a1546d9d6aa5119513c8902a00cf2 Mon Sep 17 00:00:00 2001 From: imn Date: Fri, 27 Mar 2015 17:47:48 +0300 Subject: [PATCH] INT PAL 0052623: OCC view blinking when using polyline sketcher --- src/Qtx/QtxWorkstack.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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: -- 2.39.2