Draft: move ShapeString to the creation tools

Previously it was placed in the `annotation` category
but since it creates a group of shapes, it is better
in the `creation` category.

Also small fixes in the menu text and tooltip.
This commit is contained in:
vocx-fc
2020-03-11 01:11:54 -06:00
committed by Yorik van Havre
parent dfedd10f3d
commit 7a6b586a66
3 changed files with 19 additions and 8 deletions

View File

@@ -42,12 +42,13 @@ def get_draft_drawing_commands():
"Draft_ArcTools",
"Draft_Circle", "Draft_Ellipse", "Draft_Rectangle",
"Draft_Polygon", "Draft_BSpline", "Draft_BezierTools",
"Draft_Point", "Draft_Facebinder"]
"Draft_Point", "Draft_Facebinder",
"Draft_ShapeString"]
def get_draft_annotation_commands():
"""Return the annotation commands list."""
return ["Draft_Text", "Draft_ShapeString", "Draft_Dimension",
return ["Draft_Text", "Draft_Dimension",
"Draft_Label"]