- made the workspace label in the status bar clickable and also added a status bar message on status toggle for workspace

This commit is contained in:
Marius Stanciu
2020-05-18 06:08:43 +03:00
committed by Marius
parent 1085d26b7b
commit af2cc005b0
5 changed files with 21 additions and 5 deletions

View File

@@ -4910,8 +4910,10 @@ class App(QtCore.QObject):
def on_workspace(self):
if self.ui.general_defaults_form.general_app_set_group.workspace_cb.get_value():
self.plotcanvas.draw_workspace(workspace_size=self.defaults['global_workspaceT'])
self.inform.emit(_("Workspace enabled."))
else:
self.plotcanvas.delete_workspace()
self.inform.emit(_("Workspace disabled."))
self.preferencesUiManager.defaults_read_form()
# self.save_defaults(silent=True)