- fixed bug in camlib.parse_lines() in the clear_geometry processing section for self.apertures

This commit is contained in:
Marius Stanciu
2019-05-04 22:39:51 +03:00
parent e7a32c5c90
commit d7031bc89a
4 changed files with 42 additions and 12 deletions

View File

@@ -94,8 +94,8 @@ class App(QtCore.QObject):
log.addHandler(handler)
# Version
version = 8.915
version_date = "2019/05/1"
version = 8.916
version_date = "2019/05/7"
beta = True
# current date now
@@ -2169,6 +2169,9 @@ class App(QtCore.QObject):
# set call source to the Editor we go into
self.call_source = 'exc_editor'
if self.ui.splitter.sizes()[0] == 0:
self.ui.splitter.setSizes([1, 1])
elif isinstance(edited_object, FlatCAMGerber):
# store the Gerber Editor Toolbar visibility before entering in the Editor
self.grb_editor.toolbar_old_state = True if self.ui.grb_edit_toolbar.isVisible() else False
@@ -2177,6 +2180,9 @@ class App(QtCore.QObject):
# set call source to the Editor we go into
self.call_source = 'grb_editor'
if self.ui.splitter.sizes()[0] == 0:
self.ui.splitter.setSizes([1, 1])
# # make sure that we can't select another object while in Editor Mode:
# self.collection.view.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
self.ui.project_frame.setDisabled(True)