From: mzn Date: Mon, 5 Sep 2005 10:33:51 +0000 (+0000) Subject: Fix for the problem: incorrect popup. X-Git-Tag: V3_1_0a1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1f5d691aceab40cd0787925570f63c958fd248f2;p=modules%2Fvisu.git Fix for the problem: incorrect popup. --- diff --git a/src/VISUGUI/VisuGUI_PopupTools.cxx b/src/VISUGUI/VisuGUI_PopupTools.cxx index 1fd75e5f..e0f55458 100644 --- a/src/VISUGUI/VisuGUI_PopupTools.cxx +++ b/src/VISUGUI/VisuGUI_PopupTools.cxx @@ -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; }