diff options
Diffstat (limited to 'hardinfo2/shell.c')
-rw-r--r-- | hardinfo2/shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index d7d4476f..104c99a6 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -1517,7 +1517,8 @@ static void module_selected(gpointer data) g_free(temp); } else { - goto no_help; + shell_action_set_enabled("ContextHelpAction", FALSE); + shell_action_set_label("ContextHelpAction", "Context help"); } shell_action_set_enabled("RefreshAction", TRUE); @@ -1533,7 +1534,6 @@ static void module_selected(gpointer data) gtk_tree_store_clear(GTK_TREE_STORE(shell->info->model)); set_view_type(SHELL_VIEW_NORMAL, FALSE); -no_help: shell_action_set_enabled("ContextHelpAction", FALSE); shell_action_set_label("ContextHelpAction", "Context help"); } |