fix: correctly set managed pack fields in CF pack
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
@ -186,6 +186,8 @@ bool FlameCreationTask::updateInstance()
|
||||
setOverride(true);
|
||||
qDebug() << "Will override instance!";
|
||||
|
||||
m_instance = inst;
|
||||
|
||||
// We let it go through the createInstance() stage, just with a couple modifications for updating
|
||||
return false;
|
||||
}
|
||||
@ -319,6 +321,13 @@ bool FlameCreationTask::createInstance()
|
||||
|
||||
loop.exec();
|
||||
|
||||
if (m_instance) {
|
||||
auto inst = m_instance.value();
|
||||
|
||||
inst->copyManagedPack(instance);
|
||||
inst->setName(instance.name());
|
||||
}
|
||||
|
||||
return getError().isEmpty();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user