- working on Isolation Tool: added a Preferences section in Edit -> Preferences and updated their usage within the Isolation tool

This commit is contained in:
Marius
2020-05-26 17:21:49 +03:00
parent 2084db5d22
commit dbd1098329
12 changed files with 565 additions and 222 deletions

View File

@@ -482,7 +482,7 @@ class ToolPaint(AppTool, Gerber):
self.selectmethod_combo = FCComboBox()
self.selectmethod_combo.addItems(
[_("Polygon Selection"), _("Area Selection"), _("All Polygons"), _("Reference Object")]
[_("Polygon Selection"), _("Area Selection"), _("All"), _("Reference Object")]
)
self.selectmethod_combo.setObjectName('p_selection')
@@ -1423,7 +1423,7 @@ class ToolPaint(AppTool, Gerber):
self.app.inform.emit('[ERROR_NOTCL] %s' % _("No selected tools in Tool Table."))
return
if self.select_method == _("All Polygons"):
if self.select_method == _("All"):
self.paint_poly_all(self.paint_obj,
tooldia=self.tooldia_list,
outname=self.o_name)