diff options
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r-- | MultiMC.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp index 6a967808..0b34d606 100644 --- a/MultiMC.cpp +++ b/MultiMC.cpp @@ -205,7 +205,7 @@ MultiMC::MultiMC(int &argc, char **argv, bool test_mode) : QApplication(argc, ar QLOG_WARN() << "Your instance path contains \'!\' and this is known to cause java problems"; } - m_instances.reset(new InstanceList(InstDirSetting->get().toString(), this)); + m_instances.reset(new InstanceList(m_settings, InstDirSetting->get().toString(), this)); QLOG_INFO() << "Loading Instances..."; m_instances->loadList(); connect(InstDirSetting.get(), SIGNAL(SettingChanged(const Setting &, QVariant)), @@ -577,6 +577,10 @@ QIcon MultiMC::getThemedIcon(const QString& name) void MultiMC::onExit() { + if(m_instances) + { + m_instances->saveGroupList(); + } if (m_updateOnExitPath.size()) { installUpdates(m_updateOnExitPath, m_updateOnExitFlags); |