NOISSUE watch added Component for changes in order to trigger ComponentList saves

This commit is contained in:
Petr Mrázek 2017-12-03 15:57:21 +01:00
parent 6a462d0778
commit e0bea1e46a

View File

@ -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();
} }