summaryrefslogtreecommitdiffstats
path: root/MultiMC.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-11-08 21:17:28 +0100
committerPetr Mrázek <peterix@gmail.com>2014-11-08 21:17:28 +0100
commit992ba0c3f8ae65d25503b74c62c3cdf4668635d3 (patch)
tree26c3b08e466f74231bf5b0e0bb6aca0123bd83ab /MultiMC.cpp
parent7d1dd2a32f95eacaaea7d808cd07faf99e425977 (diff)
downloadMultiMC-992ba0c3f8ae65d25503b74c62c3cdf4668635d3.tar
MultiMC-992ba0c3f8ae65d25503b74c62c3cdf4668635d3.tar.gz
MultiMC-992ba0c3f8ae65d25503b74c62c3cdf4668635d3.tar.lz
MultiMC-992ba0c3f8ae65d25503b74c62c3cdf4668635d3.tar.xz
MultiMC-992ba0c3f8ae65d25503b74c62c3cdf4668635d3.zip
Implement #545
* Instance group can be selected when creating and copying instances * Original group is pre-selected when copying * Last used group is pre-selected when creating new instances
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r--MultiMC.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp
index 258d7103..a75ccb13 100644
--- a/MultiMC.cpp
+++ b/MultiMC.cpp
@@ -376,6 +376,9 @@ void MultiMC::initGlobalSettings()
// Notifications
m_settings->registerSetting("ShownNotifications", QString());
+ // Remembered state
+ m_settings->registerSetting("LastUsedGroupForNewInstance", QString());
+
// FTB
m_settings->registerSetting("TrackFTBInstances", false);
QString ftbDataDefault;