fix: don't change groups when updating an instance
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
06019f01e3
commit
4f6d964217
@ -913,9 +913,11 @@ bool InstanceList::commitStagedInstance(QString path, InstanceName const& instan
|
|||||||
qWarning() << "Failed to move" << path << "to" << destination;
|
qWarning() << "Failed to move" << path << "to" << destination;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
m_instanceGroupIndex[instID] = groupName;
|
m_instanceGroupIndex[instID] = groupName;
|
||||||
m_groupNameCache.insert(groupName);
|
m_groupNameCache.insert(groupName);
|
||||||
|
}
|
||||||
|
|
||||||
instanceSet.insert(instID);
|
instanceSet.insert(instID);
|
||||||
|
|
||||||
emit instancesChanged();
|
emit instancesChanged();
|
||||||
|
Loading…
Reference in New Issue
Block a user