diff options
author | Matt Ebb <matt@mke3.net> | 2010-04-09 11:00:27 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-04-09 11:00:27 +0400 |
commit | 4333027a1d90013de1439d8fc01796233c98dd7d (patch) | |
tree | 7c8ff0a7cff80778bacff6c1683171d1da4f4ba8 /source/blender | |
parent | d776172cf783b659be79a91102349548953bbb76 (diff) |
Fix [#21529] Operator.report() has inconsistent behaviour with newlines
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_regions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_regions.c b/source/blender/editors/interface/interface_regions.c index 35add45b10a..ce3fe61b2f9 100644 --- a/source/blender/editors/interface/interface_regions.c +++ b/source/blender/editors/interface/interface_regions.c @@ -2095,13 +2095,13 @@ uiPopupBlockHandle *ui_popup_menu_create(bContext *C, ARegion *butregion, uiBut pup->mx= window->eventstate->x; pup->my= window->eventstate->y; pup->popup= 1; + pup->block->flag |= UI_BLOCK_NO_FLIP; } if(str) { /* menu is created from a string */ pup->menu_func= ui_block_func_MENUSTR; pup->menu_arg= str; - // XXX pup->block->flag |= UI_BLOCK_NO_FLIP; } else { /* menu is created from a callback */ |