summaryrefslogtreecommitdiffstats
path: root/logic/LegacyInstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/LegacyInstance.cpp')
-rw-r--r--logic/LegacyInstance.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp
index bc4d2cfc..279282e3 100644
--- a/logic/LegacyInstance.cpp
+++ b/logic/LegacyInstance.cpp
@@ -28,6 +28,7 @@
#include "logic/MinecraftProcess.h"
#include "logic/LegacyUpdate.h"
#include "logic/icons/IconList.h"
+#include <gui/dialogs/LegacyModEditDialog.h>
LegacyInstance::LegacyInstance(const QString &rootDir, SettingsObject *settings,
QObject *parent)
@@ -136,7 +137,7 @@ std::shared_ptr<ModList> LegacyInstance::texturePackList()
QDialog *LegacyInstance::createModEditDialog(QWidget *parent)
{
- return nullptr;
+ return new LegacyModEditDialog(this, parent);
}
QString LegacyInstance::jarModsDir() const