diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-07-23 21:26:00 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-07-23 21:26:00 +0400 |
commit | 72689deb631ae33a0e7ac64a707b0e771c633ac6 (patch) | |
tree | 6d79058092ff9f7e8f1d87ae9da6e8c365b881cd /source/blender/editors/screen/area.c | |
parent | b3dca80c5bded4edde537bbbb445d69b0a6ae65e (diff) |
Fix #21077: multiple python headers in an area header not working correct,
each needs a unique ui block name.
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r-- | source/blender/editors/screen/area.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |