QmlDesigner: Update empty state after adding texture to content library

Fixes: QDS-13190
Change-Id: I876e2ad14aa649d6c68f075ecd4a58e6b8259198
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Miikka Heikkinen
2024-07-05 12:37:03 +03:00
parent 720ab74183
commit 588c75442e

View File

@@ -108,6 +108,7 @@ void ContentLibraryUserModel::addTextures(const Utils::FilePaths &paths)
texCat->addItems(paths);
emit dataChanged(index(TexturesSectionIdx), index(TexturesSectionIdx), {ItemsRole, EmptyRole});
updateIsEmpty();
}
void ContentLibraryUserModel::removeTexture(ContentLibraryTexture *tex)