Fix some things that I broke and further cleanup

This commit is contained in:
David Robertson
2020-04-29 02:46:52 +01:00
parent 72c2dd5f26
commit a05c174ec8
41 changed files with 314 additions and 308 deletions

View File

@@ -155,7 +155,7 @@ class ToolImage(FlatCAMTool):
self.image_type.activated_custom.connect(self.on_image_type)
def run(self, toggle=True):
self.app.report_usage("ToolImage()")
self.app.defaults.report_usage("ToolImage()")
if toggle:
# if the splitter is hidden, display it, else hide it but only if the current widget is the same
@@ -263,7 +263,7 @@ class ToolImage(FlatCAMTool):
:return:
"""
self.app.report_usage("import_image()")
self.app.defaults.report_usage("import_image()")
if mask is None:
mask = [250, 250, 250, 250]