diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-17 10:27:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-17 10:27:43 +0100 |
| commit | d9f810e35033b3573226280561533f8964bc1b84 (patch) | |
| tree | 85544d43a0c4c4bf01e6238c2c259c327c7160c4 | |
| parent | 2ea0c399252c52b39fba8446a604b12ef218f8da (diff) | |
Fix typo causing snap to be stuck on.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | src/wx/timeline_dialog.cc | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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. 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> 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)); } |
