diff options
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/shell.c | 12 | 
1 files changed, 7 insertions, 5 deletions
| diff --git a/shell/shell.c b/shell/shell.c index 10c87b3d..eb72f431 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -1396,11 +1396,13 @@ module_selected_show_info(ShellModuleEntry * entry, gboolean reload)      g_key_file_free(key_file);      g_free(key_data); -    switch (shell->view_type) { -    case SHELL_VIEW_DUAL: -    case SHELL_VIEW_LOAD_GRAPH: -    case SHELL_VIEW_PROGRESS_DUAL: -        g_idle_add(select_first_item, NULL); +    if (!reload) { +        switch (shell->view_type) { +        case SHELL_VIEW_DUAL: +        case SHELL_VIEW_LOAD_GRAPH: +        case SHELL_VIEW_PROGRESS_DUAL: +            g_idle_add(select_first_item, NULL); +        }      }  } | 
