diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-19 13:55:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-19 13:55:46 +0100 |
| commit | 4408e6eea87ce9630e71e4a7d40e2dade091b0ee (patch) | |
| tree | 634dd286de7ee2b18cbdc6bcb8837b52b2f8655f /src/wx/film_editor.cc | |
| parent | 67c604d3fa2391b98ea436e2c6412f1c83a98f77 (diff) | |
Similar pending/done for Film::Change.
Diffstat (limited to 'src/wx/film_editor.cc')
| -rw-r--r-- | src/wx/film_editor.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index 1c1c02f5b..cbdbe0f36 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -68,8 +68,12 @@ FilmEditor::FilmEditor (wxWindow* parent, FilmViewer* viewer) * @param p Property of the Film that has changed. */ void -FilmEditor::film_changed (Film::Property p) +FilmEditor::film_change (ChangeType type, Film::Property p) { + if (type != CHANGE_TYPE_DONE) { + return; + } + ensure_ui_thread (); if (!_film) { @@ -121,7 +125,7 @@ FilmEditor::set_film (shared_ptr<Film> film) _dcp_panel->set_film (_film); if (_film) { - _film->Changed.connect (bind (&FilmEditor::film_changed, this, _1)); + _film->Change.connect (bind (&FilmEditor::film_change, this, _1, _2)); _film->ContentChange.connect (bind (&FilmEditor::film_content_change, this, _1, _3)); } |
