BIM: Only dusplay context menu items when in BIM WB - fixes #17043
This commit is contained in:
committed by
Chris Hennes
parent
40616bb119
commit
f4d213d299
@@ -1498,6 +1498,8 @@ class ViewProviderComponent:
|
||||
The context menu already assembled prior to this method being
|
||||
called.
|
||||
"""
|
||||
if FreeCADGui.activeWorkbench().name() != 'BIMWorkbench':
|
||||
return
|
||||
self.contextMenuAddEdit(menu)
|
||||
self.contextMenuAddToggleSubcomponents(menu)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user