From: Carl Hetherington Date: Fri, 17 Jul 2015 09:27:43 +0000 (+0100) Subject: Fix typo causing snap to be stuck on. X-Git-Tag: v2.1.24~8 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=d9f810e35033b3573226280561533f8964bc1b84 Fix typo causing snap to be stuck on. --- diff --git a/ChangeLog b/ChangeLog index 39ddc3b7a..b9a589a28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-07-17 c.hetherington + + * Fix bad behaviour of timeline snap. + 2015-07-17 Carl Hetherington * Version 2.1.23 released. diff --git a/src/wx/timeline_dialog.cc b/src/wx/timeline_dialog.cc index e4e83850a..8fb651e5c 100644 --- a/src/wx/timeline_dialog.cc +++ b/src/wx/timeline_dialog.cc @@ -59,7 +59,7 @@ TimelineDialog::TimelineDialog (ContentPanel* cp, shared_ptr film) _snap->SetValue (_timeline.snap ()); _snap->Bind (wxEVT_COMMAND_CHECKBOX_CLICKED, boost::bind (&TimelineDialog::snap_toggled, this)); film_changed (Film::SEQUENCE_VIDEO); - _snap->Bind (wxEVT_COMMAND_CHECKBOX_CLICKED, boost::bind (&TimelineDialog::sequence_video_toggled, this)); + _sequence_video->Bind (wxEVT_COMMAND_CHECKBOX_CLICKED, boost::bind (&TimelineDialog::sequence_video_toggled, this)); _film_changed_connection = film->Changed.connect (bind (&TimelineDialog::film_changed, this, _1)); }