]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Remove eye icon for parameters
authorvsv <vsv@opencascade.com>
Wed, 29 Nov 2017 12:22:31 +0000 (15:22 +0300)
committervsv <vsv@opencascade.com>
Wed, 29 Nov 2017 12:22:31 +0000 (15:22 +0300)
src/XGUI/XGUI_DataModel.cpp

index 746b33e03ec1f2b8a4530c33cb27996a186c01cf..6efc56250afdb3fc9b1899c889cf3770d7c90bc8 100644 (file)
@@ -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<ModelAPI_Result>(aObj);
     if (aResObj.get()) {
       XGUI_Displayer* aDisplayer = myWorkshop->displayer();