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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user