- added a change that when a double click is performed in a object on canvas resulting in a selection, if the notebook is hidden then it will be displayed

This commit is contained in:
Marius Stanciu
2019-02-28 16:39:44 +02:00
committed by Marius
parent ee23a31d50
commit 546f643035
2 changed files with 7 additions and 1 deletions

View File

@@ -4583,7 +4583,6 @@ class App(QtCore.QObject):
def on_double_click_over_plot(self, event): def on_double_click_over_plot(self, event):
self.doubleclick = True self.doubleclick = True
# make double click work only for the LMB
def on_mouse_move_over_plot(self, event, origin_click=None): def on_mouse_move_over_plot(self, event, origin_click=None):
""" """
@@ -4686,6 +4685,9 @@ class App(QtCore.QObject):
self.doubleclick = False self.doubleclick = False
if self.collection.get_selected(): if self.collection.get_selected():
self.ui.notebook.setCurrentWidget(self.ui.selected_tab) self.ui.notebook.setCurrentWidget(self.ui.selected_tab)
if self.ui.splitter.sizes()[0] == 0:
self.ui.splitter.setSizes([1, 1])
# delete the selection shape(S) as it may be in the way # delete the selection shape(S) as it may be in the way
self.delete_selection_shape() self.delete_selection_shape()

View File

@@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
================================================= =================================================
28.02.2019
- added a change that when a double click is performed in a object on canvas resulting in a selection, if the notebook is hidden then it will be displayed
27.02.2019 27.02.2019
- made the Custom ToolChange Text area in CNCJob Selected Tab depend on the status of the ToolChange Enable Checkbox even in the init stage. - made the Custom ToolChange Text area in CNCJob Selected Tab depend on the status of the ToolChange Enable Checkbox even in the init stage.