Commit 9ada2a3a authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.itemlibrary: fix visibility of items

parent bb3ff9c6
......@@ -403,7 +403,7 @@ void ItemLibraryModel::update(ItemLibraryInfo *itemLibraryInfo, Model *model)
bool valid = model->metaInfo(entry.typeName(), entry.majorVersion(), entry.minorVersion()).isValid();
if (valid && entry.requiredImport().isEmpty() || imports.contains(entryToImport(entry))) {
if (valid && (entry.requiredImport().isEmpty() || imports.contains(entryToImport(entry)))) {
QString itemSectionName = entry.category();
ItemLibrarySectionModel *sectionModel;
ItemLibraryItemModel *itemModel;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment