add update lock

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-12-29 14:36:07 +02:00
parent 64e119585d
commit abec40af7f
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
26 changed files with 208 additions and 32 deletions

View file

@ -398,7 +398,7 @@ auto ResourceUpdateDialog::ensureMetadata() -> bool
void ResourceUpdateDialog::onMetadataEnsured(Resource* resource)
{
// When the mod is a folder, for instance
if (!resource->metadata()) {
if (!resource->metadata() || resource->lockUpdate()) {
return;
}