diff options
Diffstat (limited to 'shell/e-shell-user-creatable-items-handler.c')
-rw-r--r-- | shell/e-shell-user-creatable-items-handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-user-creatable-items-handler.c b/shell/e-shell-user-creatable-items-handler.c index c2cc6b8877..ebd5be0911 100644 --- a/shell/e-shell-user-creatable-items-handler.c +++ b/shell/e-shell-user-creatable-items-handler.c @@ -270,7 +270,7 @@ get_default_action_for_view (EShellUserCreatableItemsHandler *handler, view_component_id = e_shell_view_get_current_component_id (shell_view); if (view_component_id == NULL) - return NULL; + return priv->default_menu_item; for (p = priv->menu_items; p != NULL; p = p->next) { const MenuItem *item; |