After talking with Matt about this, added notifier NC_ID to handle ID changes, specif...
[blender.git] / source / blender / editors / space_buttons / space_buttons.c
index 2c918bd9b30a30afbdda0177414e3c347e59922f..de8a1616496d06530f695924c26ac7b4d7293385 100644 (file)
@@ -308,6 +308,10 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn)
                        if(wmn->data == ND_SPACE_PROPERTIES)
                                ED_area_tag_redraw(sa);
                        break;
+               case NC_ID:
+                       if(wmn->data == ND_ID_RENAME)
+                               ED_area_tag_redraw(sa);
+                       break;
        }
 
        if(wmn->data == ND_KEYS)