summaryrefslogtreecommitdiffstats
path: root/plugins/stdinstance/stdinstversionlist.cpp
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-04-22 15:39:41 -0500
committerAndrew <forkk@forkk.net>2013-04-22 15:39:41 -0500
commitff3078b3a652316eef760386f665d152cbeb8db9 (patch)
tree5bd745873409d6bea927762cef314ccb78fde4e2 /plugins/stdinstance/stdinstversionlist.cpp
parent7ec32d5657d433a2636f6738e162f4da6f11cde7 (diff)
downloadMultiMC-ff3078b3a652316eef760386f665d152cbeb8db9.tar
MultiMC-ff3078b3a652316eef760386f665d152cbeb8db9.tar.gz
MultiMC-ff3078b3a652316eef760386f665d152cbeb8db9.tar.lz
MultiMC-ff3078b3a652316eef760386f665d152cbeb8db9.tar.xz
MultiMC-ff3078b3a652316eef760386f665d152cbeb8db9.zip
Make the new instance dialog support instance types.
Diffstat (limited to 'plugins/stdinstance/stdinstversionlist.cpp')
-rw-r--r--plugins/stdinstance/stdinstversionlist.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/stdinstance/stdinstversionlist.cpp b/plugins/stdinstance/stdinstversionlist.cpp
index b271fa65..214edbe7 100644
--- a/plugins/stdinstance/stdinstversionlist.cpp
+++ b/plugins/stdinstance/stdinstversionlist.cpp
@@ -162,6 +162,8 @@ void StdInstVListLoadTask::finalize()
m_list->m_vlist.swap(tempList);
m_list->endResetModel();
+ m_list->loaded = true;
+
// We called swap, so all the data that was in the version list previously is now in
// tempList (and vice-versa). Now we just free the memory.
while (!tempList.isEmpty())