From 1f5d691aceab40cd0787925570f63c958fd248f2 Mon Sep 17 00:00:00 2001 From: mzn Date: Mon, 5 Sep 2005 10:33:51 +0000 Subject: [PATCH] Fix for the problem: incorrect popup. --- src/VISUGUI/VisuGUI_PopupTools.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2