- removed the Notebook hide action when using the Esc key in the Geometry Editor

This commit is contained in:
Marius Stanciu
2020-11-25 02:10:51 +02:00
committed by Marius
parent d0288cb5a5
commit 595fc851a6
2 changed files with 1 additions and 7 deletions

View File

@@ -13,6 +13,7 @@ CHANGELOG for FlatCAM beta
- updated the convert_any2geo() method such that resulting geometry objects have the tools attribute required in the newer versions of the app - updated the convert_any2geo() method such that resulting geometry objects have the tools attribute required in the newer versions of the app
- added a way to keep compatibility with old projects - added a way to keep compatibility with old projects
- some small fixes in the Geo Editor such that the Tool Tab is no longer shown on Editor Exit if it was used by an Editor sub-tool - some small fixes in the Geo Editor such that the Tool Tab is no longer shown on Editor Exit if it was used by an Editor sub-tool
- removed the Notebook hide action when using the Esc key in the Geometry Editor
21.11.2020 21.11.2020

View File

@@ -3052,13 +3052,9 @@ class MainGUI(QtWidgets.QMainWindow):
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled.")) self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled."))
self.app.geo_editor.delete_utility_geometry() self.app.geo_editor.delete_utility_geometry()
self.app.geo_editor.active_tool.clean_up() self.app.geo_editor.active_tool.clean_up()
self.app.geo_editor.select_tool('select') self.app.geo_editor.select_tool('select')
# hide the notebook
self.app.ui.splitter.setSizes([0, 1])
return return
# Delete selected object # Delete selected object
@@ -3483,7 +3479,6 @@ class MainGUI(QtWidgets.QMainWindow):
self.app.inform.emit(response) self.app.inform.emit(response)
else: else:
pass pass
# SHIFT # SHIFT
elif modifiers == QtCore.Qt.ShiftModifier: elif modifiers == QtCore.Qt.ShiftModifier:
# Run Distance Minimum Tool # Run Distance Minimum Tool
@@ -3500,9 +3495,7 @@ class MainGUI(QtWidgets.QMainWindow):
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled.")) self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled."))
self.app.exc_editor.delete_utility_geometry() self.app.exc_editor.delete_utility_geometry()
self.app.exc_editor.active_tool.clean_up() self.app.exc_editor.active_tool.clean_up()
self.app.exc_editor.select_tool('drill_select') self.app.exc_editor.select_tool('drill_select')
return return