- made last filter selected for open file to be used next time when opening files (for Excellon, GCode and Gerber files, for now)

This commit is contained in:
Marius Stanciu
2020-05-31 03:14:33 +03:00
committed by Marius
parent 483571f098
commit 8eee9a9dcf
5 changed files with 23 additions and 11 deletions

View File

@@ -788,7 +788,7 @@ class QRCode(AppTool):
filename = str(filename)
if filename == "":
self.app.inform.emit('[WARNING_NOTCL]%s' % _("Cancelled."))
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled."))
return
else:
self.app.worker_task.emit({'fcn': job_thread_qr_png, 'params': [self.app, filename]})
@@ -835,7 +835,7 @@ class QRCode(AppTool):
filename = str(filename)
if filename == "":
self.app.inform.emit('[WARNING_NOTCL]%s' % _("Cancelled."))
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled."))
return
else:
self.app.worker_task.emit({'fcn': job_thread_qr_svg, 'params': [self.app, filename]})