summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-07-06 21:55:11 +0100
committerCarl Hetherington <cth@carlh.net>2019-07-06 21:55:11 +0100
commit57c044838c98b900e64cc77eed0a74f75aa42cb9 (patch)
tree5cefad58febfbb812ae9fd342165d55868008f49
parent66e6d93921ef9ecca86d807be68f7cfb481cc4c6 (diff)
swaroop: clear out viewer when deselecting playlist.
-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 e7232e6f4..782109888 100644
--- a/src/wx/swaroop_controls.cc
+++ b/src/wx/swaroop_controls.cc
@@ -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