Fix #66286: DblClick to rename UIList items within a popover not working #114363

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:66286 into blender-v4.0-release 2023-11-07 10:11:38 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -4412,7 +4412,7 @@ static uiBut *ui_but_list_row_text_activate(bContext *C,
const wmEvent *event,
uiButtonActivateType activate_type)
{
ARegion *region = CTX_wm_region(C);
ARegion *region = data->region;
uiBut *labelbut = ui_but_find_mouse_over_ex(region, event->xy, true, false, nullptr, nullptr);
if (labelbut && labelbut->type == UI_BTYPE_TEXT && !(labelbut->flag & UI_BUT_DISABLED)) {