Fix a bug when reloadking an item

the item was disappearing from the object list
This commit is contained in:
Maxime Gimeno 2016-02-29 09:27:01 +01:00 committed by Sébastien Loriot
parent d1e8741675
commit ac862e37a9
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ Scene::replaceItem(Scene::Item_id index, CGAL::Three::Scene_item* item, bool emi
Q_EMIT updated();
itemChanged(index);
Q_EMIT restoreCollapsedState();
group_added();
return item;
}