fix: don't change groups when updating an instance

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-09-11 13:24:58 -03:00
parent 06019f01e3
commit 4f6d964217
No known key found for this signature in database
GPG Key ID: 8D0F221F0A59F469

View File

@ -913,9 +913,11 @@ bool InstanceList::commitStagedInstance(QString path, InstanceName const& instan
qWarning() << "Failed to move" << path << "to" << destination;
return false;
}
m_instanceGroupIndex[instID] = groupName;
m_groupNameCache.insert(groupName);
}
m_instanceGroupIndex[instID] = groupName;
m_groupNameCache.insert(groupName);
instanceSet.insert(instID);
emit instancesChanged();