From 13b3c408e39a232e0c676cf2e8ab9125f2554bf1 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Mon, 3 Oct 2022 18:13:57 +0200 Subject: Fix T101510: Incorrect context for running data unlink from template ID There was already a fix for this, but it got broken again with c973d333da31. --- source/blender/editors/include/UI_interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/include/UI_interface.h') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index c3376493413..2a1941f0d9e 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -1393,6 +1393,7 @@ void UI_but_extra_icon_string_info_get(struct bContext *C, uiButExtraOpIcon *ext * - AutoButR: RNA property button with type automatically defined. */ enum { + UI_ID_NOP = 0, UI_ID_RENAME = 1 << 0, UI_ID_BROWSE = 1 << 1, UI_ID_ADD_NEW = 1 << 2, -- cgit v1.2.3