From b75ba53d4b00124fd8e04b47b11fd2fc6bd9b730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 4 Aug 2019 11:12:19 +0200 Subject: GH-2785 fix crash caused by starting multiple mod folder update tasks --- api/logic/minecraft/mod/ModFolderModel.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'api/logic/minecraft/mod/ModFolderModel.cpp') diff --git a/api/logic/minecraft/mod/ModFolderModel.cpp b/api/logic/minecraft/mod/ModFolderModel.cpp index 632dd959..c9a69995 100644 --- a/api/logic/minecraft/mod/ModFolderModel.cpp +++ b/api/logic/minecraft/mod/ModFolderModel.cpp @@ -76,6 +76,7 @@ bool ModFolderModel::update() } if(m_update) { scheduled_update = true; + return true; } auto task = new ModFolderLoadTask(m_dir); -- cgit v1.2.3