fix: hook up setAbortStatus in instance import tasks
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
6a50fa35ec
commit
87002fb8f8
7 changed files with 30 additions and 7 deletions
|
@ -19,9 +19,12 @@
|
|||
|
||||
bool ModrinthCreationTask::abort()
|
||||
{
|
||||
if (!canAbort())
|
||||
return false;
|
||||
|
||||
if (m_files_job)
|
||||
return m_files_job->abort();
|
||||
return true;
|
||||
return Task::abort();
|
||||
}
|
||||
|
||||
bool ModrinthCreationTask::updateInstance()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue