summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyevents.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/keyevents.c b/src/keyevents.c
index aa18d02..8937e91 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -336,7 +336,11 @@ void feh_event_handle_keypress(XEvent * ev)
slideshow_save_image(winwid);
break;
case 'f':
- feh_save_filelist();
+ if ((winwid->type == WIN_TYPE_THUMBNAIL)
+ || (winwid->type == WIN_TYPE_THUMBNAIL_VIEWER))
+ weprintf("Filelist saving is not supported in thumbnail mode\n");
+ else
+ feh_save_filelist();
break;
case 'w':
winwidget_size_to_image(winwid);