Outliner: Update buttons editor when renaming collection
Reported by Pablo Vazquez (venomgfx) outside phabricator.
This commit is contained in:
parent
30d0194585
commit
065630e717
|
@ -410,6 +410,7 @@ static void namebutton_cb(bContext *C, void *tsep, char *oldname)
|
|||
{
|
||||
SceneCollection *sc = outliner_scene_collection_from_tree_element(te);
|
||||
BKE_collection_rename(scene, sc, te->name);
|
||||
WM_event_add_notifier(C, NC_SCENE | ND_LAYER, scene);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue