diff --git a/FlatCAMApp.py b/FlatCAMApp.py index ba959213..2b464e7d 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -1531,6 +1531,7 @@ class App(QtCore.QObject): self.ui.plot_tab_area.setTabText(0, "EDITOR Area") + self.ui.plot_tab_area.protectTab(0) self.inform.emit("[warning_notcl]Editor is activated ...") def editor2object(self): @@ -1592,6 +1593,7 @@ class App(QtCore.QObject): edited_obj.plot() self.ui.plot_tab_area.setTabText(0, "Plot Area") + self.ui.plot_tab_area.protectTab(0) self.inform.emit("[success] %s is updated, returning to App..." % obj_type) # reset the Object UI to original settings diff --git a/README.md b/README.md index 15ad3cd9..4f9c9ac1 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ CAD program, and create G-Code for Isolation routing. - Plot Area Tab view can now be toggled, added entry in View Menu and shortcut key CTRL+F10 - All the tabs in the GUI right side are (Plot Are, Preferences etc) are now detachable to a separate windows which when closed it returns in the previous location in the toolbar. Those detached tabs can be also reattached by drag and drop. - fixed postprocessor files so now the bounds values are right aligned (assuming max string length of 9 chars which means 4 digits and 4 decimals) +- corrected small type in list_sys Tcl command; added a protection of the Plot Area Tab after a successful edit. + 30.01.2019 diff --git a/tclCommands/TclCommandListSys.py b/tclCommands/TclCommandListSys.py index 87d5a761..3fbda059 100644 --- a/tclCommands/TclCommandListSys.py +++ b/tclCommands/TclCommandListSys.py @@ -37,7 +37,7 @@ class TclCommandListSys(TclCommand): 'args': collections.OrderedDict([ ]), 'examples': ['list_sys', - 'list_sys ser' + 'list_sys ser', 'list_sys gerber', 'list_sys cncj'] }