summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/menu.c b/src/menu.c
index a3566eb..ae28138 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1379,25 +1379,25 @@ void feh_menu_cb(feh_menu * m, feh_menu_item * i, int action, void *data)
break;
case CB_SORT_FILENAME:
filelist = gib_list_sort(filelist, feh_cmp_filename);
- if (!opt.no_jump_on_resort) {
+ if (opt.jump_on_resort) {
slideshow_change_image(m->fehwin, SLIDE_FIRST);
}
break;
case CB_SORT_IMAGENAME:
filelist = gib_list_sort(filelist, feh_cmp_name);
- if (!opt.no_jump_on_resort) {
+ if (opt.jump_on_resort) {
slideshow_change_image(m->fehwin, SLIDE_FIRST);
}
break;
case CB_SORT_FILESIZE:
filelist = gib_list_sort(filelist, feh_cmp_size);
- if (!opt.no_jump_on_resort) {
+ if (opt.jump_on_resort) {
slideshow_change_image(m->fehwin, SLIDE_FIRST);
}
break;
case CB_SORT_RANDOMIZE:
filelist = gib_list_randomize(filelist);
- if (!opt.no_jump_on_resort) {
+ if (opt.jump_on_resort) {
slideshow_change_image(m->fehwin, SLIDE_FIRST);
}
break;