Merge pull request #143 from easyw/master

fixing error on startup CQ_Logo.svg does not exists issue #140
This commit is contained in:
Jeremy Wright 2019-10-03 16:54:35 -04:00 committed by GitHub
commit 6d52e47725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,9 +11,14 @@ import CadQuery_rc
class CadQueryWorkbench (Workbench):
"""CadQuery workbench for FreeCAD"""
"""CadQuery workbench for FreeCAD"""
import os
try:
from . import module_locator
except:
import module_locator
MenuText = "CadQuery"
ToolTip = "CadQuery workbench"
Icon = ":/icons/CQ_Logo.svg"
Icon = module_locator.module_path()+"/CQGui/Resources/icons/CQ_Logo.svg"
#Keeps track of which workbenches we have hidden so we can reshow them
closedWidgets = []