[Draft] Disable Draft_AddConstruction if there is no selection (#9322)
This commit is contained in:
@@ -287,7 +287,7 @@ class SetAutoGroup(gui_base.GuiCommandSimplest):
|
||||
Gui.addCommand('Draft_AutoGroup', SetAutoGroup())
|
||||
|
||||
|
||||
class AddToConstruction(gui_base.GuiCommandSimplest):
|
||||
class AddToConstruction(gui_base.GuiCommandNeedsSelection):
|
||||
"""Gui Command for the AddToConstruction tool.
|
||||
|
||||
It adds the selected objects to the construction group
|
||||
|
||||
Reference in New Issue
Block a user