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.
This commit is contained in:
2020-05-07 21:35:36 +10:00
parent 8d1e3594fe
commit b9491476e5
4 changed files with 8 additions and 17 deletions

View File

@@ -597,10 +597,8 @@ struct uiPopupBlockHandle {
/* for operator popups */
struct wmOperator *popup_op;
struct wmOperatorType *optype;
ScrArea *ctx_area;
ARegion *ctx_region;
int opcontext;
/* return values */
int butretval;