- in Excellon Editor, finished th upgrade work on the Slot Array Plugin
This commit is contained in:
@@ -4043,15 +4043,15 @@ class MainGUI(QtWidgets.QMainWindow):
|
||||
if self.app.exc_editor.active_tool.name == 'drill_add' \
|
||||
and self.app.exc_editor.active_tool.drill_tool.length != 0.0:
|
||||
pass
|
||||
elif self.app.exc_editor.active_tool.name == 'drill_array' \
|
||||
and self.app.exc_editor.active_tool.darray_tool.length != 0.0:
|
||||
pass
|
||||
# elif self.app.exc_editor.active_tool.name == 'drill_array' \
|
||||
# and self.app.exc_editor.active_tool.darray_tool.length != 0.0:
|
||||
# pass
|
||||
elif self.app.exc_editor.active_tool.name == 'slot_add' \
|
||||
and self.app.exc_editor.active_tool.slot_tool.length != 0.0 :
|
||||
pass
|
||||
elif self.app.exc_editor.active_tool.name == 'slot_array' \
|
||||
and self.app.exc_editor.active_tool.sarray_tool.length != 0.0:
|
||||
pass
|
||||
# elif self.app.exc_editor.active_tool.name == 'slot_array' \
|
||||
# and self.app.exc_editor.active_tool.sarray_tool.length != 0.0:
|
||||
# pass
|
||||
elif self.app.exc_editor.active_tool.name == 'move' \
|
||||
and self.app.exc_editor.active_tool.move_tool.length != 0.0 \
|
||||
and self.app.exc_editor.active_tool.move_tool.width != 0.0:
|
||||
|
||||
@@ -249,7 +249,7 @@ class ExcellonEditorPrefGroupUI(OptionsGroupUI):
|
||||
self.drill_array_size_label.setToolTip(
|
||||
_("Specify how many slots to be in the array.")
|
||||
)
|
||||
# self.slot_array_size_label.setMinimumWidth(100)
|
||||
# self.array_size_label.setMinimumWidth(100)
|
||||
|
||||
self.slot_array_size_entry = FCSpinner()
|
||||
self.slot_array_size_entry.set_range(0, 999999)
|
||||
|
||||
Reference in New Issue
Block a user