- fixed mistakes
This commit is contained in:
@@ -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]})
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user