Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd509f8
)
Fix PAL7557: Allow 'Display Only' popup menu command for the 'Geometry' component...
V2_2_0b2
author
vsr
<vsr@opencascade.com>
Tue, 1 Feb 2005 14:25:46 +0000
(14:25 +0000)
committer
vsr
<vsr@opencascade.com>
Tue, 1 Feb 2005 14:25:46 +0000
(14:25 +0000)
src/GEOMGUI/GeometryGUI.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMGUI/GeometryGUI.cxx
b/src/GEOMGUI/GeometryGUI.cxx
index 6987b1d2a16f00529388789677da4d218ea14e77..58841200b3e5c866794033c9980351001116dd57 100644
(file)
--- 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 );
}