Fix #125935: Insert unicode text popup not working

Likely caused by 7d80fde033
Set `handle->can_refresh=false` to prevent refreshing the block
during text edit.

Pull Request: https://projects.blender.org/blender/blender/pulls/125943
This commit is contained in:
Pratik Borhade
2024-08-07 13:13:20 +02:00
committed by Pratik Borhade
parent 5861b078f7
commit 5a9fe638de

View File

@@ -761,7 +761,7 @@ static int text_insert_unicode_invoke(bContext *C, wmOperator * /*op*/, const wm
{
char *edit_string = static_cast<char *>(MEM_mallocN(24, __func__));
edit_string[0] = 0;
UI_popup_block_invoke(C, wm_block_insert_unicode_create, edit_string, MEM_freeN);
UI_popup_block_invoke_ex(C, wm_block_insert_unicode_create, edit_string, MEM_freeN, false);
return OPERATOR_FINISHED;
}