summaryrefslogtreecommitdiff
path: root/src/wx/audio_panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/audio_panel.cc')
-rw-r--r--src/wx/audio_panel.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc
index 6b30c0dd2..50a8f709c 100644
--- a/src/wx/audio_panel.cc
+++ b/src/wx/audio_panel.cc
@@ -108,6 +108,7 @@ AudioPanel::film_changed (Film::Property property)
case Film::AUDIO_CHANNELS:
_mapping->set_channels (_editor->film()->audio_channels ());
_sizer->Layout ();
+ _sizer->Fit (this);
break;
default:
break;
@@ -131,6 +132,7 @@ AudioPanel::film_content_changed (int property)
} else if (property == FFmpegContentProperty::AUDIO_STREAM) {
setup_stream_description ();
_mapping->set (acs ? acs->audio_mapping () : AudioMapping ());
+ _sizer->Layout ();
} else if (property == FFmpegContentProperty::AUDIO_STREAMS) {
_stream->Clear ();
if (fcs) {