From 74989f5a3e967c0a3ab7b7e8b1b6b362efb5ae85 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 1 Feb 2005 14:25:46 +0000 Subject: [PATCH] Fix PAL7557: Allow 'Display Only' popup menu command for the 'Geometry' component object. --- src/GEOMGUI/GeometryGUI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.2