diff options
Diffstat (limited to 'shell/shell.c')
-rw-r--r-- | shell/shell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/shell.c b/shell/shell.c index f0c87205..913a7084 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -1016,6 +1016,8 @@ static void set_view_type(ShellViewType viewtype, gboolean reload) /* turn off the save graphic action */ shell_action_set_enabled("SaveGraphAction", FALSE); + close_note(NULL, NULL); + switch (viewtype) { default: case SHELL_VIEW_NORMAL: |