diff --git a/FlatCAMObj.py b/FlatCAMObj.py
index c1775dad..e6278dc0 100644
--- a/FlatCAMObj.py
+++ b/FlatCAMObj.py
@@ -1006,7 +1006,7 @@ class FlatCAMGerber(FlatCAMObj, Gerber):
app_obj.report_usage("gerber_on_iso_button")
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.app.worker_task.emit({'fcn': worker_task, 'params': [obj, self.app]})
diff --git a/flatcamGUI/ObjectUI.py b/flatcamGUI/ObjectUI.py
index 23e62676..53b3ee68 100644
--- a/flatcamGUI/ObjectUI.py
+++ b/flatcamGUI/ObjectUI.py
@@ -458,7 +458,7 @@ class GerberObjectUI(ObjectUI):
# ---------------------------------------------- #
# --------- Isolation scope -------------------- #
# ---------------------------------------------- #
- self.iso_scope_label = QtWidgets.QLabel('%s:' % _('Scope'))
+ self.iso_scope_label = QtWidgets.QLabel('%s:' % _('Scope'))
self.iso_scope_label.setToolTip(
_("Isolation scope. Choose what to isolate:\n"
"- 'All' -> Isolate all the polygons in the object\n"
@@ -473,7 +473,7 @@ class GerberObjectUI(ObjectUI):
# ---------------------------------------------- #
# --------- Isolation type -------------------- #
# ---------------------------------------------- #
- self.iso_type_label = QtWidgets.QLabel('%s:' % _('Isolation Type'))
+ self.iso_type_label = QtWidgets.QLabel('%s:' % _('Isolation Type'))
self.iso_type_label.setToolTip(
_("Choose how the isolation will be executed:\n"
"- 'Full' -> complete isolation of polygons\n"