Salome HOME
IPAL53692: Display Entity menu item is available for groups and sub-meshes
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Selection.cxx
index 832c51ec18e0597a7b5d2b600d5bbb7dc338d030..757238eab9af524f9f3240ebd82fe8b8fa7b9cb5 100644 (file)
@@ -118,6 +118,7 @@ QVariant SMESHGUI_Selection::parameter( const int ind, const QString& p ) const
   QVariant val;
   if      ( p=="client" )               val = QVariant( LightApp_Selection::parameter( p ) );
   else if ( p=="type" )                 val = QVariant( myTypes[ind] );
+  else if ( p=="hasActor" )             val = QVariant( getActor( ind ) != 0 );
   else if ( p=="elemTypes" )            val = QVariant( elemTypes( ind ) );
   else if ( p=="isAutoColor" )          val = QVariant( isAutoColor( ind ) );
   else if ( p=="numberOfNodes" )        val = QVariant( numberOfNodes( ind ) );