diff --git a/src/preferences/filetypes/AttributeListView.cpp b/src/preferences/filetypes/AttributeListView.cpp index 26212d3922..13f59189e4 100644 --- a/src/preferences/filetypes/AttributeListView.cpp +++ b/src/preferences/filetypes/AttributeListView.cpp @@ -238,7 +238,7 @@ AttributeItem::operator!=(const AttributeItem& other) const AttributeListView::AttributeListView(BRect frame, const char* name, uint32 resizingMode) : BListView(frame, name, B_SINGLE_SELECTION_LIST, resizingMode, - B_WILL_DRAW | B_NAVIGABLE | B_FULL_UPDATE_ON_RESIZE) + B_WILL_DRAW | B_NAVIGABLE | B_FULL_UPDATE_ON_RESIZE | B_FRAME_EVENTS) { } @@ -265,7 +265,7 @@ AttributeListView::SetTo(BMimeType* type) _DeleteItems(); // fill it again - + if (type == NULL) return;