diff --git a/src/Gui/CommandStructure.cpp b/src/Gui/CommandStructure.cpp index ab1e0c5584..b465c4055c 100644 --- a/src/Gui/CommandStructure.cpp +++ b/src/Gui/CommandStructure.cpp @@ -75,10 +75,7 @@ void StdCmdPart::activated(int iMsg) "selected_objects = Gui.Selection.getSelection()\n" "if len(selected_objects) > 1:\n" " for obj in selected_objects:\n" - " # Exclude spreadsheets\n" - " if obj.TypeId == 'Spreadsheet::Sheet':\n" - " continue\n" - " # Add subobjects if obj is a container (optional)\n" + " # Add subobjects if obj is a container\n" " if hasattr(obj, 'OutList') and len(obj.OutList) > 0:\n" " for child in obj.OutList:\n" " App.activeDocument().%s.addObject(child)\n"