Skip to content

Commit

Permalink
Part: [skip ci] use the correct icon for helix and sprial view providers
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Oct 22, 2020
1 parent 537089b commit 9d36253
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Part/Gui/ViewProviderSpline.cpp
Expand Up @@ -65,6 +65,7 @@ PROPERTY_SOURCE(PartGui::ViewProviderSpline, PartGui::ViewProviderPartExt)
ViewProviderSpline::ViewProviderSpline()
: pcControlPoints(0)
{
sPixmap = "Part_Spline_Parametric";
ADD_PROPERTY(ControlPoints,(false));
}

Expand All @@ -74,7 +75,7 @@ ViewProviderSpline::~ViewProviderSpline()

QIcon ViewProviderSpline::getIcon(void) const
{
return Gui::BitmapFactory().pixmap("Part_Spline_Parametric");
return Gui::BitmapFactory().pixmap(sPixmap);
}

void ViewProviderSpline::setupContextMenu(QMenu* menu, QObject* receiver, const char* member)
Expand Down

0 comments on commit 9d36253

Please sign in to comment.