From 046a1167550238f383ae355e56bea3e9b59d5f17 Mon Sep 17 00:00:00 2001 From: Louie Lu Date: Thu, 16 May 2019 15:45:38 +0800 Subject: [PATCH] Fix config didn't load when set_workspace --- guake/notebook.py | 3 +++ .../fix-config-reload-when-set-workspace-770da70de54009f3.yaml | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 releasenotes/notes/fix-config-reload-when-set-workspace-770da70de54009f3.yaml diff --git a/guake/notebook.py b/guake/notebook.py index 33007a865..fa4e15abf 100644 --- a/guake/notebook.py +++ b/guake/notebook.py @@ -512,6 +512,9 @@ def set_workspace(self, index: int): # Restore pending page terminal split notebook.guake.restore_pending_terminal_split() + # Restore config to workspace + notebook.guake.load_config() + def set_notebooks_tabbar_visible(self, v): for nb in self.iter_notebooks(): nb.set_tabbar_visible(v) diff --git a/releasenotes/notes/fix-config-reload-when-set-workspace-770da70de54009f3.yaml b/releasenotes/notes/fix-config-reload-when-set-workspace-770da70de54009f3.yaml new file mode 100644 index 000000000..5cf57a65e --- /dev/null +++ b/releasenotes/notes/fix-config-reload-when-set-workspace-770da70de54009f3.yaml @@ -0,0 +1,2 @@ +fixes: + - Fix config didn't reload when set_workspace