- moved some of the GUI related methods from FlatCAMApp.App to the flatcamGUI.FlatCAMGUI class

- moved Shortcuts Tab creation in it's own class
This commit is contained in:
Marius Stanciu
2020-05-18 15:43:07 +03:00
committed by Marius
parent a9c777030b
commit 4c83e87feb
6 changed files with 2486 additions and 2462 deletions

View File

@@ -380,12 +380,11 @@ class GeneralAppPrefGroupUI(OptionsGroupUI):
def on_toggle_shell_from_settings(self, state):
"""
Toggle shell: if is visible close it, if it is closed then open it
Toggle shell ui: if is visible close it, if it is closed then open it
:return: None
"""
self.app.defaults.report_usage("on_toggle_shell_from_settings()")
if state is True:
if not self.app.ui.shell_dock.isVisible():
self.app.ui.shell_dock.show()