diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-07 14:35:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-07 14:38:08 +0300 |
commit | b9491476e5c11b789b8ecaad87a2b2de4c09a60a (patch) | |
tree | 4016eb59c2772a59651e907414a4327dbef660d8 /source/blender/editors/include | |
parent | 8d1e3594fea9596eceaf4a14606d281c133d8c9d (diff) |
Cleanup: remove unused operator arguments to UI_popup_block_invoke_ex
Add optional can_refresh argument, useful to prevent text field
from exiting on refresh.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index f4dd2da06fc..9eb3bda76e2 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -621,8 +621,7 @@ void UI_popup_block_invoke_ex(struct bContext *C, uiBlockCreateFunc func, void *arg, void (*arg_free)(void *arg), - const char *opname, - int opcontext); + bool can_refresh); void UI_popup_block_ex(struct bContext *C, uiBlockCreateFunc func, uiBlockHandleFunc popup_func, |