Skip to content

Commit

Permalink
Media Preflet: fix #11308
Browse files Browse the repository at this point in the history
_ClearParamView() should not remove fMidiView, since it's not dynamically
generated.
  • Loading branch information
jackburton79 committed Oct 2, 2014
1 parent b7b31be commit bcec5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preferences/media/MediaWindow.cpp
Expand Up @@ -708,7 +708,7 @@ MediaWindow::_ClearParamView()
return;

BView* view = item->View();
if (view != fVideoView && view != fAudioView) {
if (view != fVideoView && view != fAudioView && view != fMidiView) {
fContentLayout->RemoveItem(item);
delete item;
delete view;
Expand Down

0 comments on commit bcec5d7

Please sign in to comment.