summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-20 21:29:20 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-20 21:29:20 +0100
commit5911030f411e104778ad2c3faca8c8cb7bdbc387 (patch)
treebefe0ce3d1137497171b3c554f498354b9b6f798 /src/wx
parentb6e73791a09cf0598024484f820385f4fec6190c (diff)
Extract audio more correctly and neatly; support 7.1 in DCP naming; fix up lack of update after changing audio stream.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/film_editor.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index 54b810db9..15755b9db 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -900,6 +900,9 @@ FilmEditor::audio_stream_changed (wxCommandEvent &)
_ignore_changes = Film::AUDIO_STREAM;
_film->set_audio_stream (_audio_stream->GetSelection ());
_ignore_changes = Film::NONE;
+
+ _dcp_name->SetLabel (std_to_wx (_film->dcp_name ()));
+ setup_audio_details ();
}
void
@@ -925,4 +928,3 @@ FilmEditor::setup_audio_details ()
_audio->SetLabel (std_to_wx (s.str ()));
}
}
-