From 546f6430350936abfe1a6563f29caa8fa5030728 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Thu, 28 Feb 2019 16:39:44 +0200 Subject: [PATCH] - 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 --- FlatCAMApp.py | 4 +++- README.md | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 8ce79210..88457dd5 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -4583,7 +4583,6 @@ class App(QtCore.QObject): def on_double_click_over_plot(self, event): self.doubleclick = True - # make double click work only for the LMB def on_mouse_move_over_plot(self, event, origin_click=None): """ @@ -4686,6 +4685,9 @@ class App(QtCore.QObject): self.doubleclick = False if self.collection.get_selected(): 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 self.delete_selection_shape() diff --git a/README.md b/README.md index 2fad886f..433e717d 100644 --- a/README.md +++ b/README.md @@ -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 - made the Custom ToolChange Text area in CNCJob Selected Tab depend on the status of the ToolChange Enable Checkbox even in the init stage.