mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-25 08:50:36 +05:00
Fix PAL7557: Allow 'Display Only' popup menu command for the 'Geometry' component object.
This commit is contained in:
parent
cd509f872c
commit
74989f5a3e
@ -724,8 +724,8 @@ bool GeometryGUI::CustomPopup(QAD_Desktop* parent, QPopupMenu* popup, const QStr
|
|||||||
|
|
||||||
if ( theObject == "Component" ) {
|
if ( theObject == "Component" ) {
|
||||||
////// menu for component
|
////// menu for component
|
||||||
popup->removeItem( QAD_DisplayOnly_Popup_ID );
|
|
||||||
if ( !isOCCViewer && !isVTKViewer ) {
|
if ( !isOCCViewer && !isVTKViewer ) {
|
||||||
|
popup->removeItem( QAD_DisplayOnly_Popup_ID );
|
||||||
popup->removeItem( QAD_Display_Popup_ID );
|
popup->removeItem( QAD_Display_Popup_ID );
|
||||||
popup->removeItem( QAD_Erase_Popup_ID );
|
popup->removeItem( QAD_Erase_Popup_ID );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user