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 e7232e6..7821098 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