]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for the problem: incorrect popup.
authormzn <mzn@opencascade.com>
Mon, 5 Sep 2005 10:33:51 +0000 (10:33 +0000)
committermzn <mzn@opencascade.com>
Mon, 5 Sep 2005 10:33:51 +0000 (10:33 +0000)
src/VISUGUI/VisuGUI_PopupTools.cxx

index 1fd75e5f1f7cc202e8f6f30cff32c41edc032a01..e0f554582b5f4d83c3091497832d0139f49c6d6d 100644 (file)
@@ -105,8 +105,8 @@ QString VisuGUI_Selection::type( const int ind ) const
 
   if(aResStr.isNull()){
     bool isExist;
-    const QString& aVal = VISU::Storable::FindValue(aMap,"myComment",&isExist);
-    if ( isExist )
+    QString aVal = VISU::Storable::FindValue(aMap,"myComment",&isExist);
+    if ( isExist && aVal!="MESH" )
       aResStr = "VISU::T" + aVal;
   }