- fixed remove_tools() so the Tcl Shell action is readded to the Tools menu and reconnected to it's slot function
This commit is contained in:
@@ -1464,7 +1464,7 @@ class App(QtCore.QObject):
|
|||||||
self.ui.menutool.removeAction(act)
|
self.ui.menutool.removeAction(act)
|
||||||
|
|
||||||
def init_tools(self):
|
def init_tools(self):
|
||||||
|
log.debug("init_tools()")
|
||||||
# delete the data currently in the Tools Tab and the Tab itself
|
# delete the data currently in the Tools Tab and the Tab itself
|
||||||
widget = QtWidgets.QTabWidget.widget(self.ui.notebook, 2)
|
widget = QtWidgets.QTabWidget.widget(self.ui.notebook, 2)
|
||||||
if widget is not None:
|
if widget is not None:
|
||||||
@@ -1482,7 +1482,10 @@ class App(QtCore.QObject):
|
|||||||
# reinstall all the Tools as some may have been removed when the data was removed from the Tools Tab
|
# reinstall all the Tools as some may have been removed when the data was removed from the Tools Tab
|
||||||
# first remove all of them
|
# first remove all of them
|
||||||
self.remove_tools()
|
self.remove_tools()
|
||||||
# second install all of them
|
# second re add the TCL Shell action to the Tools menu and reconnect it to ist slot function
|
||||||
|
self.ui.menutoolshell = self.ui.menutool.addAction(QtGui.QIcon('share/shell16.png'), '&Command Line\tS')
|
||||||
|
self.ui.menutoolshell.triggered.connect(self.on_toggle_shell)
|
||||||
|
# third install all of them
|
||||||
self.install_tools()
|
self.install_tools()
|
||||||
self.log.debug("Tools are initialized.")
|
self.log.debug("Tools are initialized.")
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ CAD program, and create G-Code for Isolation routing.
|
|||||||
- added some status bar messages in the Geometry Editor to guide the user when using the Geometry Tools
|
- added some status bar messages in the Geometry Editor to guide the user when using the Geometry Tools
|
||||||
- now the '`' shortcut key that shows the 'shortcut key list' in Editors points to the same window which is created in a tab no longer as a pop-up window. This tab can be detached if needed.
|
- now the '`' shortcut key that shows the 'shortcut key list' in Editors points to the same window which is created in a tab no longer as a pop-up window. This tab can be detached if needed.
|
||||||
- added a remove_tools() function before install_tools() in the init_tools() that is called when creating a new project. Should solve the issue with having double menu entry's in the TOOLS menu
|
- added a remove_tools() function before install_tools() in the init_tools() that is called when creating a new project. Should solve the issue with having double menu entry's in the TOOLS menu
|
||||||
|
- fixed remove_tools() so the Tcl Shell action is readded to the Tools menu and reconnected to it's slot function
|
||||||
|
|
||||||
2.2.2019
|
2.2.2019
|
||||||
|
|
||||||
@@ -27,7 +28,7 @@ CAD program, and create G-Code for Isolation routing.
|
|||||||
- added a new postprocessor file named: 'probe_from_zmove' which allow probing to be done from z_move position on toolchange event
|
- added a new postprocessor file named: 'probe_from_zmove' which allow probing to be done from z_move position on toolchange event
|
||||||
- fixed the snap magnet button in Geometry Editor, restored the checkable property to True
|
- fixed the snap magnet button in Geometry Editor, restored the checkable property to True
|
||||||
- some more changes in the Editors GUI in deactivate() function
|
- some more changes in the Editors GUI in deactivate() function
|
||||||
- a fix for saving again empt an edited new and empty Excellon Object
|
- a fix for saving as empty an edited new and empty Excellon Object
|
||||||
|
|
||||||
1.02.2019
|
1.02.2019
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user