diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-11 11:02:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-11 11:02:08 +0100 |
| commit | ef9eef051d1f9eb09b7950cde482266531eba26a (patch) | |
| tree | a986226ed2e39d8f3cbd7d8f2b82ffce3b2389eb /src | |
| parent | d595b6b2c5f68e90c193fcddd786e772a1135f0d (diff) | |
Update content controls when content is removed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_editor.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index b1e672cfa..8d33b58d6 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -1193,6 +1193,9 @@ FilmEditor::content_remove_clicked (wxCommandEvent &) if (c) { _film->remove_content (c); } + + wxListEvent ev; + content_selection_changed (ev); } void @@ -1204,7 +1207,7 @@ FilmEditor::content_selection_changed (wxListEvent &) if (_audio_dialog && s && dynamic_pointer_cast<AudioContent> (s)) { _audio_dialog->set_content (dynamic_pointer_cast<AudioContent> (s)); } - + film_content_changed (s, ContentProperty::START); film_content_changed (s, ContentProperty::LENGTH); film_content_changed (s, VideoContentProperty::VIDEO_CROP); |
