- 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.
This commit is contained in:
Marius Stanciu
2019-02-17 15:06:43 +02:00
committed by Marius S
parent a103b5d263
commit b717b60d45
4 changed files with 90 additions and 42 deletions

View File

@@ -1636,6 +1636,10 @@ class App(QtCore.QObject):
# store the Geometry Editor Toolbar visibility before entering in the Editor
self.geo_editor.toolbar_old_state = True if self.ui.geo_edit_toolbar.isVisible() else False
self.geo_editor.edit_fcgeometry(edited_object)
# we set the notebook to hidden
self.ui.splitter.setSizes([0, 1])
# set call source to the Editor we go into
self.call_source = 'geo_editor'
@@ -1703,6 +1707,10 @@ class App(QtCore.QObject):
self.inform.emit("[WARNING_NOTCL]Select a Geometry or Excellon Object to update.")
return
# if notebook is hidden we show it
if self.ui.splitter.sizes()[0] == 0:
self.ui.splitter.setSizes([1, 1])
# restore the call_source to app
self.call_source = 'app'