]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #650: too long tooltips
authorasl <asl@opencascade.com>
Fri, 14 Aug 2015 04:34:47 +0000 (07:34 +0300)
committerasl <asl@opencascade.com>
Fri, 14 Aug 2015 06:57:09 +0000 (09:57 +0300)
src/XGUI/XGUI_WorkshopListener.cpp

index d6dd2834e566bd3bae0a6228cda1d5bc9df0a3f8..27054bd3dcd80ec9f9dbfa5150047a187149b9a7 100755 (executable)
@@ -369,6 +369,8 @@ void XGUI_WorkshopListener::addFeature(const std::shared_ptr<Config_FeatureMessa
     if (isColumnButton) {
       aAction = aSalomeConnector->addNestedFeature(aWchName, aFeatureInfo, aNestedActList);
     } else {
+      //Issue #650: in the SALOME mode the tooltip should be same as text
+      aFeatureInfo.toolTip = aFeatureInfo.text;
       aAction = aSalomeConnector->addFeature(aWchName, aFeatureInfo);
     }
     aSalomeConnector->setNestedActions(aFeatureInfo.id, aNestedFeatures);