aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-shortcut.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-shortcut.c')
-rw-r--r--shell/e-shell-shortcut.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/e-shell-shortcut.c b/shell/e-shell-shortcut.c
index 56671dccd3..6ac3fc9e1c 100644
--- a/shell/e-shell-shortcut.c
+++ b/shell/e-shell-shortcut.c
@@ -299,9 +299,7 @@ shortcut_bar_item_selected (EShortcutBar *e_shortcut_bar,
return;
shortcut = e_shortcut_from_pos (shortcut_group, item_num);
-
- if (shortcut == NULL)
- return;
+
if (event->button.button == 1) {
e_shell_view_set_view (eshell_view, shortcut->efolder);