Added menu icons to examples.
This commit is contained in:
parent
21200cc10d
commit
da82797677
|
@ -90,7 +90,8 @@ class CadQueryExecuteExample:
|
|||
self.exFile = str(exFile)
|
||||
|
||||
def GetResources(self):
|
||||
return {"MenuText": str(self.exFile)}
|
||||
return {"MenuText": str(self.exFile),
|
||||
"Pixmap": ":/icons/accessories-text-editor.svg"}
|
||||
|
||||
def Activated(self):
|
||||
FreeCAD.Console.PrintMessage(self.exFile + "\r\n")
|
||||
|
|
Loading…
Reference in New Issue
Block a user