From 8eff3206b2918df11c51dca677835ad580bd0063 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Sun, 17 Feb 2019 15:16:57 +0200 Subject: [PATCH] - when pressing Escape in Geometry Editor it will automatically deselect any shape not only the currently selected tool. --- FlatCAMGUI.py | 3 +++ README.md | 1 + 2 files changed, 4 insertions(+) diff --git a/FlatCAMGUI.py b/FlatCAMGUI.py index 20fcb2f7..a666c789 100644 --- a/FlatCAMGUI.py +++ b/FlatCAMGUI.py @@ -1920,6 +1920,9 @@ class FlatCAMGUI(QtWidgets.QMainWindow): self.app.inform.emit("[WARNING_NOTCL]Cancelled.") self.app.geo_editor.delete_utility_geometry() + + # deselect any shape that might be selected + self.app.geo_editor.selected = [] self.app.geo_editor.replot() # self.select_btn.setChecked(True) # self.on_tool_select('select') diff --git a/README.md b/README.md index 30a2062d..bf505c74 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ CAD program, and create G-Code for Isolation routing. - fixed issue where after loading a project, if the default kind of CNCjob view is only 'cuts' the plot will revert to the 'all' type - in Editors, if the modifier key set in Preferences (CTRL or SHIFT key) is pressed at the end of one tool operation it will automatically continue to that action until the modifier is no longer pressed when Select tool will be automatically selected. - in Geometry Editor, on entry the notebook is automatically hidden and restored on Geometry Editor exit. +- when pressing Escape in Geometry Editor it will automatically deselect any shape not only the currently selected tool. 16.02.2019