]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
INT PAL 0052623: OCC view blinking when using polyline sketcher
authorimn <imn@opencascade.com>
Fri, 27 Mar 2015 14:47:48 +0000 (17:47 +0300)
committerimn <imn@opencascade.com>
Fri, 27 Mar 2015 14:47:48 +0000 (17:47 +0300)
src/Qtx/QtxWorkstack.cxx

index 99c7760616d82fbff3425345b1e26e23b72e5852..b4abe7b8fd5367b79cae1581b89da6083abe13cc 100644 (file)
@@ -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: