diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2013-11-27 15:00:44 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-11-30 12:28:20 +0100 |
commit | 88318561724cae6d19f892adf778d85e6c736391 (patch) | |
tree | 9e0dbcb80c49b7fc88214f82c81d85ffcb529282 /MultiMC.cpp | |
parent | eff38858ef32239cd91044295ce7db3def857339 (diff) | |
download | MultiMC-88318561724cae6d19f892adf778d85e6c736391.tar MultiMC-88318561724cae6d19f892adf778d85e6c736391.tar.gz MultiMC-88318561724cae6d19f892adf778d85e6c736391.tar.lz MultiMC-88318561724cae6d19f892adf778d85e6c736391.tar.xz MultiMC-88318561724cae6d19f892adf778d85e6c736391.zip |
Remember the last selected instance and select it on startup
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r-- | MultiMC.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp index 26d7e8c8..1ac84629 100644 --- a/MultiMC.cpp +++ b/MultiMC.cpp @@ -327,6 +327,7 @@ void MultiMC::initGlobalSettings() m_settings->registerSetting(new Setting("InstSortMode", "Name")); + m_settings->registerSetting(new Setting("SelectedInstance", QString())); // Persistent value for the client ID m_settings->registerSetting(new Setting("YggdrasilClientToken", "")); |