From: vsv Date: Wed, 29 Nov 2017 12:22:31 +0000 (+0300) Subject: Remove eye icon for parameters X-Git-Tag: V_2.10.0RC~127 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f0d37bbee8cac340111ca3389c821e6ca0a04c0d;p=modules%2Fshaper.git Remove eye icon for parameters --- diff --git a/src/XGUI/XGUI_DataModel.cpp b/src/XGUI/XGUI_DataModel.cpp index 746b33e03..6efc56250 100644 --- a/src/XGUI/XGUI_DataModel.cpp +++ b/src/XGUI/XGUI_DataModel.cpp @@ -1089,6 +1089,8 @@ XGUI_DataModel::VisibilityState ObjectPtr aObj = object(theIndex); if (aObj.get()) { + if (aObj->groupName() == ModelAPI_ResultParameter::group()) + return NoneState; ResultPtr aResObj = std::dynamic_pointer_cast(aObj); if (aResObj.get()) { XGUI_Displayer* aDisplayer = myWorkshop->displayer();