Fix #713: Image preview does not update when pressing shift-up
authorColin Clark <colin.clark@cclark.uk>
Sun, 8 Mar 2020 09:40:45 +0000 (09:40 +0000)
committerColin Clark <colin.clark@cclark.uk>
Sun, 8 Mar 2020 09:40:45 +0000 (09:40 +0000)
commit14d8ce4568a651939b8ffd12f4ea50b0635b9589
tree1ae1e7c9de36eba519dbad6a293d2d07ff46dd39
parenta02121d2f10ccefc98af8294462483fd3bb5aa6b
Fix #713: Image preview does not update when pressing shift-up

https://github.com/BestImageViewer/geeqie/issues/713

When multiple images were selected, when the selection was changed GTK
triggers the selection function on every item selected in turn.
This resulted in the last item in the list being shown as the selected
image.
The code now uses the GtkTree cursor location.
src/view_file/view_file_list.c