summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-12-23 22:38:32 +0000
committerCarl Hetherington <cth@carlh.net>2018-12-23 22:38:32 +0000
commit3bc475617d5aceb54b09cc1f2fd5f8de77db55e8 (patch)
tree724d73cb8295e1a17bbb343db3478f98bfeec020 /src
parent4e558894d1f75f0d8aa64283e8b595a06c77869b (diff)
swaroop: disable previous on reaching end of playlist.
Diffstat (limited to 'src')
-rw-r--r--src/wx/swaroop_controls.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/swaroop_controls.cc b/src/wx/swaroop_controls.cc
index 2202dff2a..62d9d0300 100644
--- a/src/wx/swaroop_controls.cc
+++ b/src/wx/swaroop_controls.cc
@@ -494,6 +494,7 @@ SwaroopControls::viewer_finished ()
_viewer->start ();
}
} else {
+ _selected_playlist_position = 0;
ResetFilm (shared_ptr<Film>(new Film(optional<boost::filesystem::path>())));
}
}