From: vsr Date: Tue, 1 Feb 2005 14:25:46 +0000 (+0000) Subject: Fix PAL7557: Allow 'Display Only' popup menu command for the 'Geometry' component... X-Git-Tag: V2_2_0b2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=74989f5a3e967c0a3ab7b7e8b1b6b362efb5ae85;p=modules%2Fgeom.git Fix PAL7557: Allow 'Display Only' popup menu command for the 'Geometry' component object. --- diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 6987b1d2a..58841200b 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -724,8 +724,8 @@ bool GeometryGUI::CustomPopup(QAD_Desktop* parent, QPopupMenu* popup, const QStr if ( theObject == "Component" ) { ////// menu for component - popup->removeItem( QAD_DisplayOnly_Popup_ID ); if ( !isOCCViewer && !isVTKViewer ) { + popup->removeItem( QAD_DisplayOnly_Popup_ID ); popup->removeItem( QAD_Display_Popup_ID ); popup->removeItem( QAD_Erase_Popup_ID ); }