]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Hide grip widget on maximize window on Linux (Issue #32)
authorvsv <vsv@coldrex.nnov.opencascade.com>
Mon, 21 Apr 2014 15:37:57 +0000 (19:37 +0400)
committervsv <vsv@coldrex.nnov.opencascade.com>
Mon, 21 Apr 2014 15:37:57 +0000 (19:37 +0400)
src/XGUI/XGUI_ViewWindow.cpp

index 38d259ff9babcdd0d7ee2c2136d4ab4906bc6d10..f02499857f78df73bddb95ad02a5685d725d5ed2 100644 (file)
@@ -352,7 +352,8 @@ void XGUI_ViewWindow::windowActivated()
     }
     myViewBar->show();
     myWindowBar->show();
-    myGripWgt->setVisible(!(isMaximized() || isMinimized()));
+    myGripWgt->setVisible(!(isMaximized() || isMinimized() ||
+        parentWidget()->isMaximized() || parentWidget()->isMinimized()));
   } else 
     myIsActive = false;
 }