start core update task only if not running already

This line crashes develop builds because the task is running already.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2026-02-03 12:10:09 +02:00
parent e7382fd43d
commit bc6a6e959b
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318

View file

@ -376,7 +376,9 @@ CoreModFolderPage::CoreModFolderPage(BaseInstance* inst, ModFolderModel* mods, Q
m_container->refreshContainer();
}
});
update->start();
if (!update->isRunning()) {
update->start();
}
}
}
}