diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-29 22:57:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-29 22:57:28 +0100 |
| commit | 21e807a07f82f0d3c7e4befbbf91f1a1a8d71874 (patch) | |
| tree | 40cc85344ce5f939755f3cbe05b3149788fb8d56 | |
| parent | b256a6fa3514bc5ef1e1d72c4bb7e9f24bcc2492 (diff) | |
Speculative fix for #891.
| -rw-r--r-- | src/wx/timing_panel.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index 7abe9e8f9..e5c2ed785 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -146,6 +146,9 @@ TimingPanel::TimingPanel (ContentPanel* p, FilmViewer* viewer) t->SetLabelMarkup (out); grid->Add (t, 0, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 6); + /* Completely speculative fix for #891 */ + grid->Layout (); + _position->Changed.connect (boost::bind (&TimingPanel::position_changed, this)); _move_to_start_of_reel->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&TimingPanel::move_to_start_of_reel_clicked, this)); _full_length->Changed.connect (boost::bind (&TimingPanel::full_length_changed, this)); |
