- fixed issue with not updating correctly the plot kind (all, cut, travel) when clicking in the CNC Tools Table plot buttons

- made the GCode Editor for ToolSolderPaste clear the text before updating the Code Editor tab
- all the Tabs in Plot Area are closed (except Plot Area itself) on New Project creation
This commit is contained in:
Marius Stanciu
2019-02-22 00:37:57 +02:00
committed by Marius S
parent c7a2b69637
commit 45b5cba68a
4 changed files with 19 additions and 1 deletions

View File

@@ -954,6 +954,9 @@ class SolderPaste(FlatCAMTool):
# add the tab if it was closed
self.app.ui.plot_tab_area.addTab(self.app.ui.cncjob_tab, "Code Editor")
# first clear previous text in text editor (if any)
self.app.ui.code_editor.clear()
# Switch plot_area to CNCJob tab
self.app.ui.plot_tab_area.setCurrentWidget(self.app.ui.cncjob_tab)