-
Daniel Teske authored
The Generic Project Manager builds the tree from the bottom to the top. Previously no signals were emitted while doing that since the watchers were added on adding the top level node at the end. With the new ProjectTree that leads to lots of signals, and leaves the FlatModel confussed, as that expects the nodes to be already in the hierarchy and crashes otherwise. Restore this behavior by checking if the affected nodes are in the hierarchy. Change-Id: I832b348867a8abad2afef11297b44f058592cb1d Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
b88cdef0