Clear enableQueue on model reset

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2025-03-19 10:31:55 +00:00
parent a5c62e657a
commit 7532172233
No known key found for this signature in database
GPG key ID: 5E39D70B4C93C38E
6 changed files with 11 additions and 0 deletions

View file

@ -80,6 +80,8 @@ class ResourcePage : public QWidget, public BasePage {
virtual void removeResourceFromPage(const QString& name);
virtual void addResourceToPage(ModPlatform::IndexedPack::Ptr, ModPlatform::IndexedVersion&, std::shared_ptr<ResourceFolderModel>);
virtual void modelReset();
QList<DownloadTaskPtr> selectedPacks() { return m_model->selectedPacks(); }
bool hasSelectedPacks() { return !(m_model->selectedPacks().isEmpty()); }