forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user