From fc8eecb8eb1ca9f1035338d72a2ff6136f7de4b4 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 4 Sep 2020 12:21:40 +0200 Subject: [PATCH] Part: [skip ci] make Tube command behave like all other solid creation commands --- src/Mod/Part/BasicShapes/Shapes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/BasicShapes/Shapes.py b/src/Mod/Part/BasicShapes/Shapes.py index 9fed6379c6..386dbd9096 100644 --- a/src/Mod/Part/BasicShapes/Shapes.py +++ b/src/Mod/Part/BasicShapes/Shapes.py @@ -84,7 +84,7 @@ if FreeCAD.GuiUp: def GetResources(self): return {'MenuText': Qt.QT_TRANSLATE_NOOP("Part_MakeTube","Create tube"), 'Accel': "", - 'CmdType': "ForEdit", + 'CmdType': "AlterDoc:Alter3DView:AlterSelection", 'Pixmap' : ":/icons/Part_Tube.svg", 'ToolTip': Qt.QT_TRANSLATE_NOOP("Part_MakeTube","Creates a tube")}