Part: move icons to booleans subdirectory
The path to the icons is added to `AppPartGui.cpp` using `Gui::BitmapFactory().addPath()`, so the icons are found automatically in their new directories.
This commit is contained in:
@@ -51,7 +51,7 @@ if FreeCAD.GuiUp:
|
||||
#--------------------------/translation-related code ----------------------------------------
|
||||
|
||||
def getIconPath(icon_dot_svg):
|
||||
return ":/icons/" + icon_dot_svg
|
||||
return icon_dot_svg
|
||||
|
||||
# -------------------------- /common stuff --------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user