- fixing issue #254

- replaced (as per advice from @jpcgt) the lines with app.info call
to using a signal which is safe to use in a threaded environment,
app.inform.emit()
This commit is contained in:
Marius Stanciu
2018-05-30 22:52:50 +03:00
parent 205d878052
commit c85a142759
4 changed files with 17 additions and 17 deletions

View File

@@ -165,7 +165,7 @@ class DblSidedTool(FlatCAMTool):
if not isinstance(fcobj, FlatCAMGerber) and \
not isinstance(fcobj, FlatCAMExcellon) and \
not isinstance(fcobj, FlatCAMGeometry):
self.info("ERROR: Only Gerber, Excellon and Geometry objects can be mirrored.")
self.app.inform.emit("ERROR: Only Gerber, Excellon and Geometry objects can be mirrored.")
return
axis = self.mirror_axis.get_value()