diff --git a/CHANGELOG.md b/CHANGELOG.md index dbd53d51..fe2af0f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ CHANGELOG for FlatCAM beta - in Excellon Editor remade the utility geometry generation for Circular Drill/Slot Array to show the array updated in real time and also fixed the adding of array in negative quadrants - Turkish language strings updated (by Mehmet Kaya) - both for Excellon and Gerber editor fixed the direction of slots/pads when adding a circular array +- in Gerber editor added the G key shortcut to toggle the grid snapping 5.11.2020 diff --git a/appEditors/AppGerberEditor.py b/appEditors/AppGerberEditor.py index 1230915c..39dc9bb4 100644 --- a/appEditors/AppGerberEditor.py +++ b/appEditors/AppGerberEditor.py @@ -1449,6 +1449,10 @@ class TrackEditorGrb(ShapeToolEditorGrb): self.draw_app.draw_utility_geometry(geo_shape=geo) return _("Backtracked one point ...") + # Jump to coords + if key == QtCore.Qt.Key_G or key == 'G': + self.draw_app.app.ui.grid_snap_btn.trigger() + # Jump to coords if key == QtCore.Qt.Key_J or key == 'J': self.draw_app.app.on_jump_to()