diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-23 09:36:56 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-23 09:36:56 +0200 |
commit | 8004f1a7ad3cc6a3659517f3374bdf1b63416b24 (patch) | |
tree | b7b82cc6e01cd47d22f660e25508a7d8d555dc89 /src/MediaPage.vala | |
parent | 28c68a75acac7ac3ce7fb169bc6aa65e16551c53 (diff) | |
parent | 566dc060676b41e1e58a446b7dcc4159e242fee6 (diff) |
Merge tag 'upstream/0.20.0'
Upstream version 0.20.0
Diffstat (limited to 'src/MediaPage.vala')
-rw-r--r-- | src/MediaPage.vala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/MediaPage.vala b/src/MediaPage.vala index 4d7ee2a..9f98466 100644 --- a/src/MediaPage.vala +++ b/src/MediaPage.vala @@ -818,6 +818,14 @@ public abstract class MediaPage : CheckerboardPage { set_display_tags(Config.Facade.get_instance().get_display_photo_tags()); get_view().thaw_notifications(); + // Update cursor position to match the selection that potentially moved while the user + // navigated in SinglePhotoPage + if (get_view().get_selected_count() > 0) { + CheckerboardItem? selected = (CheckerboardItem?) get_view().get_selected_at(0); + if (selected != null) + cursor_to_item(selected); + } + sync_sort(); } |