summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-04-18 10:05:22 +0100
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commit1f2b267b0d2f7744f5f507ecd99aed2ab2db9260 (patch)
tree16398371d135aea2aef4a53159afa5957bd309aa
parent656c34046183fa649a802abaccf9ca89650589bf (diff)
Fix display when all content is removed. Fix sensitivity of jump-to-selected checkbox.
-rw-r--r--src/wx/film_viewer.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index fcaca2973..2aef50c6d 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -254,9 +254,14 @@ FilmViewer::get ()
pair<shared_ptr<PlayerVideo>, DCPTime> video;
do {
video = _butler->get_video ();
- } while (_film->three_d() && ((_left_eye->GetValue() && video.first->eyes() == EYES_RIGHT) || (_right_eye->GetValue() && video.first->eyes() == EYES_LEFT)));
+ } while (
+ _film->three_d() &&
+ ((_left_eye->GetValue() && video.first->eyes() == EYES_RIGHT) || (_right_eye->GetValue() && video.first->eyes() == EYES_LEFT))
+ );
if (!video.first) {
+ _frame.reset ();
+ refresh_panel ();
return;
}
@@ -575,6 +580,7 @@ FilmViewer::setup_sensitivity ()
_outline_content->Enable (c);
_frame_number->Enable (c);
_timecode->Enable (c);
+ _jump_to_selected->Enable (c);
_left_eye->Enable (c && _film->three_d ());
_right_eye->Enable (c && _film->three_d ());