summaryrefslogtreecommitdiff
path: root/src/keyevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyevents.c')
-rw-r--r--src/keyevents.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/keyevents.c b/src/keyevents.c
index 64194da..05f1f5b 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -353,12 +353,11 @@ void feh_event_invoke_action(winwidget winwid, unsigned char action)
if (thumbfile) {
feh_action_run(thumbfile, opt.actions[action]);
- /* so, reload/regenerate the thumbnail here? */
if (!opt.hold_actions[action])
- winwidget_destroy(winwid);
+ feh_thumbnail_mark_removed(thumbfile, 0);
}
else
- fputs("no thumbnail selected\n", stderr);
+ weprintf("No thumbnail selected");
}
}
return;