- fixed mistakes

This commit is contained in:
Marius Stanciu
2019-11-25 17:04:56 +02:00
parent d5a9e0bb5a
commit 2fe08cf990
2 changed files with 3 additions and 3 deletions

View File

@@ -1006,7 +1006,7 @@ class FlatCAMGerber(FlatCAMObj, Gerber):
app_obj.report_usage("gerber_on_iso_button") app_obj.report_usage("gerber_on_iso_button")
self.read_form() self.read_form()
iso_scope = 'all' if self.ui.iso_scope_radio == 'all' else 'single' iso_scope = 'all' if self.ui.iso_scope_radio.get_value() == 'all' else 'single'
self.isolate_handler(iso_type=self.iso_type, iso_scope=iso_scope) self.isolate_handler(iso_type=self.iso_type, iso_scope=iso_scope)
self.app.worker_task.emit({'fcn': worker_task, 'params': [obj, self.app]}) self.app.worker_task.emit({'fcn': worker_task, 'params': [obj, self.app]})

View File

@@ -458,7 +458,7 @@ class GerberObjectUI(ObjectUI):
# ---------------------------------------------- # # ---------------------------------------------- #
# --------- Isolation scope -------------------- # # --------- Isolation scope -------------------- #
# ---------------------------------------------- # # ---------------------------------------------- #
self.iso_scope_label = QtWidgets.QLabel('%s:' % _('Scope')) self.iso_scope_label = QtWidgets.QLabel('<b>%s:</b>' % _('Scope'))
self.iso_scope_label.setToolTip( self.iso_scope_label.setToolTip(
_("Isolation scope. Choose what to isolate:\n" _("Isolation scope. Choose what to isolate:\n"
"- 'All' -> Isolate all the polygons in the object\n" "- 'All' -> Isolate all the polygons in the object\n"
@@ -473,7 +473,7 @@ class GerberObjectUI(ObjectUI):
# ---------------------------------------------- # # ---------------------------------------------- #
# --------- Isolation type -------------------- # # --------- Isolation type -------------------- #
# ---------------------------------------------- # # ---------------------------------------------- #
self.iso_type_label = QtWidgets.QLabel('%s:' % _('Isolation Type')) self.iso_type_label = QtWidgets.QLabel('<b>%s:</b>' % _('Isolation Type'))
self.iso_type_label.setToolTip( self.iso_type_label.setToolTip(
_("Choose how the isolation will be executed:\n" _("Choose how the isolation will be executed:\n"
"- 'Full' -> complete isolation of polygons\n" "- 'Full' -> complete isolation of polygons\n"