- 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

@@ -438,7 +438,7 @@ class Panelize(AppTool):
return "Could not retrieve object: %s" % boxname
if box is None:
self.app.inform.emit('[WARNING_NOTCL]%s: %s' % (_("No object Box. Using instead"), panel_source_obj))
self.app.inform.emit('[WARNING_NOTCL] %s: %s' % (_("No object Box. Using instead"), panel_source_obj))
self.reference_radio.set_value('bbox')
if self.reference_radio.get_value() == 'bbox':

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]})