- fixed the warning that old preferences found even for new installation
- in Paint Tool fixed the message to select a polygon when using the Selection: Single Polygon being overwritten by the "Grid disabled" message
This commit is contained in:
@@ -9,7 +9,7 @@ from PyQt5 import QtWidgets, QtCore, QtGui
|
||||
|
||||
from AppTool import AppTool
|
||||
from AppGUI.GUIElements import FCCheckBox, FCDoubleSpinner, RadioSet, FCTable, FCInputDialog, FCButton, \
|
||||
FCComboBox, OptionalHideInputSection, FCSpinner
|
||||
FCComboBox, OptionalInputSection, FCSpinner
|
||||
from AppParsers.ParseGerber import Gerber
|
||||
|
||||
from copy import deepcopy
|
||||
@@ -484,11 +484,11 @@ class ToolIsolation(AppTool, Gerber):
|
||||
|
||||
self.grid3.addWidget(self.exc_obj_combo, 29, 0, 1, 2)
|
||||
|
||||
self.e_ois = OptionalHideInputSection(self.except_cb,
|
||||
[
|
||||
self.type_excobj_radio,
|
||||
self.exc_obj_combo
|
||||
])
|
||||
self.e_ois = OptionalInputSection(self.except_cb,
|
||||
[
|
||||
self.type_excobj_radio,
|
||||
self.exc_obj_combo
|
||||
])
|
||||
|
||||
# Isolation Scope
|
||||
self.select_label = QtWidgets.QLabel('%s:' % _("Selection"))
|
||||
@@ -1691,6 +1691,7 @@ class ToolIsolation(AppTool, Gerber):
|
||||
else:
|
||||
self.grid_status_memory = False
|
||||
|
||||
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Click on a polygon to isolate it."))
|
||||
self.mr = self.app.plotcanvas.graph_event_connect('mouse_release', self.on_poly_mouse_click_release)
|
||||
self.kp = self.app.plotcanvas.graph_event_connect('key_press', self.on_key_press)
|
||||
|
||||
@@ -1703,7 +1704,6 @@ class ToolIsolation(AppTool, Gerber):
|
||||
# disconnect flags
|
||||
self.poly_sel_disconnect_flag = True
|
||||
|
||||
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Click on a polygon to isolate it."))
|
||||
elif selection == _("Reference Object"):
|
||||
ref_obj = self.app.collection.get_by_name(self.reference_combo.get_value())
|
||||
ref_geo = cascaded_union(ref_obj.solid_geometry)
|
||||
|
||||
Reference in New Issue
Block a user