Clear out audio stream description on de-selection of FFmpeg content.
authorCarl Hetherington <cth@carlh.net>
Thu, 9 Jan 2014 16:29:00 +0000 (16:29 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 9 Jan 2014 16:29:00 +0000 (16:29 +0000)
src/wx/audio_panel.cc

index 41313e342fa0841049293dd459b3bc27efb29910..ba458f1ff813f58dc596a850884b7b7c666df874 100644 (file)
@@ -222,6 +222,7 @@ AudioPanel::setup_stream_description ()
 {
        FFmpegContentList fc = _editor->selected_ffmpeg_content ();
        if (fc.size() != 1) {
+               _description->SetLabel ("");
                return;
        }