swaroop: disable previous on reaching end of playlist.
authorCarl Hetherington <cth@carlh.net>
Sun, 23 Dec 2018 22:38:32 +0000 (22:38 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 23 Dec 2018 22:38:32 +0000 (22:38 +0000)
src/wx/swaroop_controls.cc

index 2202dff..62d9d03 100644 (file)
@@ -494,6 +494,7 @@ SwaroopControls::viewer_finished ()
                        _viewer->start ();
                }
        } else {
+               _selected_playlist_position = 0;
                ResetFilm (shared_ptr<Film>(new Film(optional<boost::filesystem::path>())));
        }
 }