NOISSUE watch added Component for changes in order to trigger ComponentList saves
This commit is contained in:
parent
6a462d0778
commit
e0bea1e46a
@ -641,6 +641,7 @@ void ComponentList::insertComponent(size_t index, ComponentPtr component)
|
|||||||
d->components.insert(index, component);
|
d->components.insert(index, component);
|
||||||
d->componentIndex[id] = component;
|
d->componentIndex[id] = component;
|
||||||
endInsertRows();
|
endInsertRows();
|
||||||
|
connect(component.get(), &Component::dataChanged, this, &ComponentList::componentDataChanged);
|
||||||
scheduleSave();
|
scheduleSave();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user