Argh, when removing items, also remove them from the name hash

This commit is contained in:
Michael Natterer 2010-02-08 01:14:22 +01:00
parent 11ca58ccf2
commit 7413ec9f31
1 changed files with 3 additions and 0 deletions

View File

@ -451,6 +451,9 @@ gimp_item_tree_remove_item (GimpItemTree *tree,
g_object_ref (item);
g_hash_table_remove (private->name_hash,
gimp_object_get_name (item));
gimp_container_remove (container, GIMP_OBJECT (item));
if (parent)