forked from qt-creator/qt-creator
QmlDesigner: Fix missmatch of category titles
"My Quick3D Components" was renamed to "My 3D Components". ItemLibraryImport::quick3DAssetsTitle defines the title in a single place. Task-number: QDS-4717 Change-Id: Ib96dcb029ce0b74de64ebdc904d890d66c240d2e Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -347,7 +347,7 @@ void ItemLibraryModel::update(ItemLibraryInfo *itemLibraryInfo, Model *model)
|
||||
importSection = importHash[entry.requiredImport()];
|
||||
|
||||
}
|
||||
} else if (catName == "My Quick3D Components") {
|
||||
} else if (catName == ItemLibraryImport::quick3DAssetsTitle()) {
|
||||
importSection = importHash[ItemLibraryImport::quick3DAssetsTitle()];
|
||||
} else {
|
||||
if (catName.startsWith("Qt Quick - "))
|
||||
|
Reference in New Issue
Block a user