From d1a142f040d66b6c6dafc243d98f97b53473455c Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Tue, 6 Jul 2021 15:10:35 +0100 Subject: [PATCH] GH-1949 Allow Legacy FTB pack downloads to be aborted It looks like this was just an mistake when implementing support for legacy FTB. --- api/logic/modplatform/legacy_ftb/PackInstallTask.h | 1 + 1 file changed, 1 insertion(+) diff --git a/api/logic/modplatform/legacy_ftb/PackInstallTask.h b/api/logic/modplatform/legacy_ftb/PackInstallTask.h index 7868d1c46..f3515781c 100644 --- a/api/logic/modplatform/legacy_ftb/PackInstallTask.h +++ b/api/logic/modplatform/legacy_ftb/PackInstallTask.h @@ -20,6 +20,7 @@ public: explicit PackInstallTask(Modpack pack, QString version); virtual ~PackInstallTask(){} + bool canAbort() const override { return true; } bool abort() override; protected: