Skip to content

Commit

Permalink
Sketcher: Adaptation of code to handle the icons
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahtahiriyo authored and wwmayer committed Feb 21, 2017
1 parent afd7610 commit ce7e186
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp
Expand Up @@ -308,7 +308,7 @@ CmdSketcherConvertToNURB::CmdSketcherConvertToNURB()
sToolTipText = QT_TR_NOOP("Converts the given Geometry to a B-Spline");
sWhatsThis = "Sketcher_ConvertToNURB";
sStatusTip = sToolTipText;
sPixmap = "Sketcher_ConvertToNURB";
sPixmap = "Sketcher_BSplineApproximate";
sAccel = "";
eType = ForEdit;
}
Expand Down Expand Up @@ -364,9 +364,9 @@ CmdSketcherIncreaseDegree::CmdSketcherIncreaseDegree()
sGroup = QT_TR_NOOP("Sketcher");
sMenuText = QT_TR_NOOP("Increase degree");
sToolTipText = QT_TR_NOOP("Increases the degree of the B-Spline");
sWhatsThis = "Sketcher_IncreaseDegree";
sWhatsThis = "Sketcher_BSplineIncreaseDegree";
sStatusTip = sToolTipText;
sPixmap = "Sketcher_IncreaseDegree";
sPixmap = "Sketcher_BSplineIncreaseDegree";
sAccel = "";
eType = ForEdit;
}
Expand Down
6 changes: 6 additions & 0 deletions src/Mod/Sketcher/Gui/Resources/Sketcher.qrc
Expand Up @@ -41,6 +41,12 @@
<file>icons/SketcherWorkbench.svg</file>
<file>icons/Sketcher_AlterConstruction.svg</file>
<file>icons/Sketcher_AlterFillet.svg</file>
<file>icons/Sketcher_BSplineApproximate.svg</file>
<file>icons/Sketcher_BSplineComb.svg</file>
<file>icons/Sketcher_BSplineDecreaseDegree.svg</file>
<file>icons/Sketcher_BSplineDegree.svg</file>
<file>icons/Sketcher_BSplineIncreaseDegree.svg</file>
<file>icons/Sketcher_BSplinePolygon.svg</file>
<file>icons/Sketcher_Clone.svg</file>
<file>icons/Sketcher_CloseShape.svg</file>
<file>icons/Sketcher_Conics.svg</file>
Expand Down

0 comments on commit ce7e186

Please sign in to comment.