TechDraw: Insert View : Enable handling of image and SVG if no selection.

This commit is contained in:
PaddleStroke
2024-03-29 17:41:48 +01:00
parent 68fe9df121
commit 3fff49f7f6
3 changed files with 197 additions and 676 deletions

View File

@@ -362,8 +362,6 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
decor->setCommand("TechDraw Decoration");
*decor << "TechDraw_Hatch";
*decor << "TechDraw_GeometricHatch";
*decor << "TechDraw_Symbol";
*decor << "TechDraw_Image";
*decor << "TechDraw_ToggleFrame";
Gui::ToolBarItem* anno = new Gui::ToolBarItem(root);
@@ -467,8 +465,6 @@ Gui::ToolBarItem* Workbench::setupCommandBars() const
decor->setCommand("TechDraw Decoration");
*decor << "TechDraw_Hatch";
*decor << "TechDraw_GeometricHatch";
*decor << "TechDraw_Symbol";
*decor << "TechDraw_Image";
*decor << "TechDraw_ToggleFrame";
Gui::ToolBarItem* anno = new Gui::ToolBarItem(root);