summaryrefslogtreecommitdiffstats
path: root/logic
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-05-21 20:47:47 +0200
committerPetr Mrázek <peterix@gmail.com>2015-05-21 20:47:47 +0200
commit22a0294a330dfcf8a50654d1eb17e07c2eab89dc (patch)
tree5ae38695260b5f5a681d97daed21d01f9e8044b0 /logic
parent5334d88c1db08ab817965b2be39635f2f673c526 (diff)
downloadMultiMC-22a0294a330dfcf8a50654d1eb17e07c2eab89dc.tar
MultiMC-22a0294a330dfcf8a50654d1eb17e07c2eab89dc.tar.gz
MultiMC-22a0294a330dfcf8a50654d1eb17e07c2eab89dc.tar.lz
MultiMC-22a0294a330dfcf8a50654d1eb17e07c2eab89dc.tar.xz
MultiMC-22a0294a330dfcf8a50654d1eb17e07c2eab89dc.zip
GH-985 fix jar mods
Diffstat (limited to 'logic')
-rw-r--r--logic/minecraft/OneSixProfileStrategy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/minecraft/OneSixProfileStrategy.cpp b/logic/minecraft/OneSixProfileStrategy.cpp
index acd2904d..b7ba2bf6 100644
--- a/logic/minecraft/OneSixProfileStrategy.cpp
+++ b/logic/minecraft/OneSixProfileStrategy.cpp
@@ -374,6 +374,8 @@ bool OneSixProfileStrategy::installJarMods(QStringList filepaths)
f->order = profile->getFreeOrderNumber();
QString patchFileName = PathCombine(patchDir, target_id + ".json");
f->filename = patchFileName;
+ f->setMovable(true);
+ f->setRemovable(true);
QFile file(patchFileName);
if (!file.open(QFile::WriteOnly))