Fix typo causing snap to be stuck on.
authorCarl Hetherington <cth@carlh.net>
Fri, 17 Jul 2015 09:27:43 +0000 (10:27 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 17 Jul 2015 09:27:43 +0000 (10:27 +0100)
ChangeLog
src/wx/timeline_dialog.cc

index 39ddc3b7a7f60106e5565494ea1c15fd09b36ee8..b9a589a285b137f1f93021ed97bdd2abbb3c2ffb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-07-17  c.hetherington  <cth@carlh.net>
+
+       * Fix bad behaviour of timeline snap.
+
 2015-07-17  Carl Hetherington  <cth@carlh.net>
 
        * Version 2.1.23 released.
index e4e83850af3d59c8078b645595460b54132d457e..8fb651e5ce2800a606428d7b33edb4073bf8e5d0 100644 (file)
@@ -59,7 +59,7 @@ TimelineDialog::TimelineDialog (ContentPanel* cp, shared_ptr<Film> 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));
 }