forked from qt-creator/qt-creator
QmlDesigner: Fix for missing QtQuick import
Pick-to: qds/4.7 Fixes: QDS-14828 Change-Id: Id8ed1cd1daf16d0773a4ae0431745ab8956adb6b Reviewed-by: Aleksei German <aleksei.german@qt.io>
This commit is contained in:
@@ -401,6 +401,7 @@ void ItemLibraryModel::update(Model *model)
|
||||
|
||||
// we need to exclude all items from unsupported imports but only if they are not user-defined modules
|
||||
if (!(entry.category() == ItemLibraryImport::userComponentsTitle())
|
||||
&& !entry.requiredImport().isEmpty()
|
||||
&& !mcuManager.allowedImports().contains(entry.requiredImport())) {
|
||||
blocked = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user