diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2011-11-24 16:25:26 -0800 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2011-11-24 16:25:26 -0800 |
commit | dcf0124ea3a61e9235329dbecce92774224e54f8 (patch) | |
tree | ff08e74ad0874a2920e26802be5673a192ab5f2d /shell | |
parent | f28dbb3158054925808f4bdadd608794a44eb692 (diff) |
Make sure note (usually used by the benchmark module) is closed when swapping view mode
Diffstat (limited to 'shell')
-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: |