From: vsv Date: Mon, 21 Apr 2014 15:37:57 +0000 (+0400) Subject: Hide grip widget on maximize window on Linux (Issue #32) X-Git-Tag: V_0.2~141 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d0056935c51ba5ac91467176f37e2c359bb902f6;p=modules%2Fshaper.git Hide grip widget on maximize window on Linux (Issue #32) --- diff --git a/src/XGUI/XGUI_ViewWindow.cpp b/src/XGUI/XGUI_ViewWindow.cpp index 38d259ff9..f02499857 100644 --- a/src/XGUI/XGUI_ViewWindow.cpp +++ b/src/XGUI/XGUI_ViewWindow.cpp @@ -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; }