- added a shortcut to select all apertures in the Excellon Editor (Ctrl+A)

This commit is contained in:
Marius Stanciu
2021-09-28 05:39:39 +03:00
committed by Marius
parent 8d8a522714
commit 0232ec5d2f
3 changed files with 20 additions and 1 deletions

View File

@@ -3833,6 +3833,11 @@ class MainGUI(QtWidgets.QMainWindow):
elif self.app.call_source == 'exc_editor':
# CTRL
if modifiers == QtCore.Qt.KeyboardModifier.ControlModifier:
# Select All
if key == QtCore.Qt.Key.Key_E or key == 'A':
self.app.exc_editor.ui.tools_table_exc.selectAll()
return
# save (update) the current geometry and return to the App
if key == QtCore.Qt.Key.Key_S or key == 'S':
self.app.editor2object()