Skip to content
Snippets Groups Projects
Commit 9ada2a3a authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.itemlibrary: fix visibility of items

parent bb3ff9c6
Branches
Tags
No related merge requests found
...@@ -403,7 +403,7 @@ void ItemLibraryModel::update(ItemLibraryInfo *itemLibraryInfo, Model *model) ...@@ -403,7 +403,7 @@ void ItemLibraryModel::update(ItemLibraryInfo *itemLibraryInfo, Model *model)
bool valid = model->metaInfo(entry.typeName(), entry.majorVersion(), entry.minorVersion()).isValid(); 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(); QString itemSectionName = entry.category();
ItemLibrarySectionModel *sectionModel; ItemLibrarySectionModel *sectionModel;
ItemLibraryItemModel *itemModel; ItemLibraryItemModel *itemModel;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment