Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_ui_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_ui_common.c b/source/blender/modifiers/intern/MOD_ui_common.c
index 67c89d6dc3e..0d2c9e4af2c 100644
--- a/source/blender/modifiers/intern/MOD_ui_common.c
+++ b/source/blender/modifiers/intern/MOD_ui_common.c
@@ -276,7 +276,7 @@ static void modifier_ops_extra_draw(bContext *C, uiLayout *layout, void *md_v)
IFACE_("Move to First"),
ICON_TRIA_UP,
NULL,
- WM_OP_EXEC_DEFAULT,
+ WM_OP_INVOKE_DEFAULT,
0,
&op_ptr);
RNA_int_set(&op_ptr, "index", 0);
@@ -291,7 +291,7 @@ static void modifier_ops_extra_draw(bContext *C, uiLayout *layout, void *md_v)
IFACE_("Move to Last"),
ICON_TRIA_DOWN,
NULL,
- WM_OP_EXEC_DEFAULT,
+ WM_OP_INVOKE_DEFAULT,
0,
&op_ptr);
RNA_int_set(&op_ptr, "index", BLI_listbase_count(&ob->modifiers) - 1);