summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-12-08 21:32:25 +0000
committerCarl Hetherington <cth@carlh.net>2018-12-08 21:32:25 +0000
commit22fde9d8dac5a7fd6ff826392612ad8581e83b3b (patch)
treef767e4a16f15cb87b8e37638c1cbdfa36aa2a927 /src
parent424ffe2828a76e8b0f2dc43d7391f6e2cf153468 (diff)
swaroop:
Remove strange update_playlist_directory() on setting film; that made the _spl_view behave strangely since on selection all its contents were deleted and re-created. Disable _spl_view during playback.
Diffstat (limited to 'src')
-rw-r--r--src/wx/swaroop_controls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/swaroop_controls.cc b/src/wx/swaroop_controls.cc
index 2546412ef..567784b3a 100644
--- a/src/wx/swaroop_controls.cc
+++ b/src/wx/swaroop_controls.cc
@@ -110,6 +110,7 @@ SwaroopControls::setup_sensitivity ()
_pause_button->Enable (c && (!_current_kind || _current_kind != dcp::ADVERTISEMENT) && _viewer->playing());
_stop_button->Enable (c && (!_current_kind || _current_kind != dcp::ADVERTISEMENT));
_slider->Enable (c && (!_current_kind || _current_kind != dcp::ADVERTISEMENT) && !_current_disable_timeline);
+ _spl_view->Enable (!_viewer->playing());
}
void
@@ -261,6 +262,5 @@ void
SwaroopControls::set_film (shared_ptr<Film> film)
{
Controls::set_film (film);
- update_playlist_directory ();
setup_sensitivity ();
}