diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-24 21:46:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-24 21:46:50 +0100 |
| commit | ab8ef6d729e6a858c8719e463011813f82c9a6ea (patch) | |
| tree | 337a4f3181754825aa0652b65de3a9e39f04d814 /src/tools | |
| parent | e571e208d540a5bb6dafa49a8e91cb0428931abb (diff) | |
Fix up DCP list in player.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_player.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index 3be947cc6..06b83a97f 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -191,6 +191,7 @@ public: Bind (wxEVT_MENU, boost::bind (&DOMFrame::forward_frame, this), ID_forward_frame); UpdateChecker::instance()->StateChanged.connect (boost::bind (&DOMFrame::update_checker_state_changed, this)); + _controls->DCPDirectorySelected.connect (boost::bind(&DOMFrame::load_dcp, this, _1)); setup_screen (); } @@ -576,6 +577,7 @@ private: void setup_screen () { _controls->Show (_mode != Config::PLAYER_MODE_FULL); + _controls->show_dcp_directory (_mode == Config::PLAYER_MODE_DUAL); _info->Show (_mode != Config::PLAYER_MODE_FULL); _overall_panel->SetBackgroundColour (_mode == Config::PLAYER_MODE_FULL ? wxColour(0, 0, 0) : wxNullColour); ShowFullScreen (_mode == Config::PLAYER_MODE_FULL); |
