BIM: set DoubleClickActivates property true by default

This commit is contained in:
Furgo
2025-05-06 14:53:03 +02:00
committed by Yorik van Havre
parent 59483c8001
commit 3502b60c73

View File

@@ -481,6 +481,7 @@ class ViewProviderBuildingPart:
vobj.addProperty("App::PropertyBool","RestoreView","Interaction",QT_TRANSLATE_NOOP("App::Property","If set, the view stored in this object will be restored on double-click"), locked=True)
if not "DoubleClickActivates" in pl:
vobj.addProperty("App::PropertyBool","DoubleClickActivates","Interaction",QT_TRANSLATE_NOOP("App::Property","If True, double-clicking this object in the tree activates it"), locked=True)
vobj.DoubleClickActivates = True
# inventor saving
if not "SaveInventor" in pl: