Fix T39260: "Redo Last" operator popup shows macro operator labels twice.
The popup was showing an explicit uiItemL as well as using the UI_LAYOUT_OP_SHOW_TITLE flag. Both do the exact same thing.
This commit is contained in:
parent
1f63b0807b
commit
d2660a079c
Notes:
blender-bot
2023-02-14 10:59:09 +01:00
Referenced by issue #39260, extrude, F6 ui bug Referenced by issue #39207, Wrong evaluation of Action Constraint
|
@ -1413,7 +1413,6 @@ static uiBlock *wm_block_create_redo(bContext *C, ARegion *ar, void *arg_op)
|
|||
|
||||
if (op->type->flag & OPTYPE_MACRO) {
|
||||
for (op = op->macro.first; op; op = op->next) {
|
||||
uiItemL(layout, RNA_struct_ui_name(op->type->srna), ICON_NONE);
|
||||
uiLayoutOperatorButs(C, layout, op, NULL, 'H', UI_LAYOUT_OP_SHOW_TITLE);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue