Assembly: Fix context menu 'Activate object' not working and causing crash (#17092)
* Assembly: Add setupContextMenu to ViewProviderAssembly.h * Assembly: Fix right click 'activate object' menu not setting edit * add QMenu header * Add NOLINT * Add one more space before //NOLINT or clang cries... * Fix isInEditMode * add isInEditMode to ViewProviderAssemblyPy.xml * add isInEditMode to ViewProviderAssemblyPyImp.cpp * update activeAssembly() in Utils to make sure isInEditMode
This commit is contained in:
@@ -14,6 +14,15 @@
|
||||
<UserDocu>This is the ViewProviderAssembly class</UserDocu>
|
||||
</Documentation>
|
||||
|
||||
<Methode Name="isInEditMode">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
Return true if the assembly object is currently in edit mode.
|
||||
|
||||
isInEditMode() -> bool
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getDragger">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
|
||||
Reference in New Issue
Block a user