From 72689deb631ae33a0e7ac64a707b0e771c633ac6 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 23 Jul 2010 17:26:00 +0000 Subject: [PATCH] Fix #21077: multiple python headers in an area header not working correct, each needs a unique ui block name. --- source/blender/editors/screen/area.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index fa7064b817d..b5a0ad9c819 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1427,7 +1427,7 @@ void ED_region_header(const bContext *C, ARegion *ar) /* draw all headers types */ for(ht= ar->type->headertypes.first; ht; ht= ht->next) { - block= uiBeginBlock(C, ar, "header buttons", UI_EMBOSS); + block= uiBeginBlock(C, ar, ht->idname, UI_EMBOSS); layout= uiBlockLayout(block, UI_LAYOUT_HORIZONTAL, UI_LAYOUT_HEADER, xco, yco, HEADERY-6, 1, style); if(ht->draw) {