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 2202dff2acb262b4b246a232878a0e8f34d530cd..62d9d03005e7713fbedc1c055ff0b937b43f8eb7 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>())));
        }
 }