* Make sure the attribute list gets cleared to when a filetype gets deleted

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36822 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ithamar R. Adema 2010-05-15 19:55:34 +00:00
parent ae26daa623
commit 159d0f2447

View File

@ -677,6 +677,7 @@ FileTypesWindow::_SetType(BMimeType* type, int32 forceUpdate)
fRuleControl->SetText(NULL);
fPreferredField->Menu()->ItemAt(0)->SetMarked(true);
fExtensionListView->SetType(NULL);
fAttributeListView->SetTo(NULL);
}
if ((forceUpdate & B_FILE_EXTENSIONS_CHANGED) != 0)