swaroop: clear out viewer when deselecting playlist.
authorCarl Hetherington <cth@carlh.net>
Sat, 6 Jul 2019 20:55:11 +0000 (21:55 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 6 Jul 2019 20:55:11 +0000 (21:55 +0100)
src/wx/swaroop_controls.cc

index e7232e6f4d8b75b0d231066c2ed3ff9cfb1d63a3..782109888a969ec63a11820bfc33b96c422d9b72 100644 (file)
@@ -201,6 +201,7 @@ SwaroopControls::deselect_playlist ()
                _selected_playlist = boost::none;
                _spl_view->SetItemState (selected, 0, wxLIST_STATE_SELECTED);
        }
+       ResetFilm (shared_ptr<Film>(new Film(optional<boost::filesystem::path>())));
 }
 
 void