From 42a8389e400b8f7064dbec22a67e1b30fc7d6ae5 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Mon, 6 Sep 2021 11:55:42 +0200 Subject: [PATCH] Restored docstring --- src/Mod/Draft/draftguitools/gui_groups.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Mod/Draft/draftguitools/gui_groups.py b/src/Mod/Draft/draftguitools/gui_groups.py index 9baa3dc000..343e68257c 100644 --- a/src/Mod/Draft/draftguitools/gui_groups.py +++ b/src/Mod/Draft/draftguitools/gui_groups.py @@ -105,6 +105,13 @@ class AddToGroup(gui_base.GuiCommandNeedsSelection): def proceed(self, labelname): + """Place the selected objects in the chosen group or ungroup them. + Parameters + ---------- + labelname: str + The passed string with the name of the group. + It puts the selected objects inside this group. + """ # If the selected group matches the ungroup label, # remove the selection from all groups. if labelname == self.ungroup: