diff --git a/source/blender/editors/screen/screen_ops.cc b/source/blender/editors/screen/screen_ops.cc index 29493bf57ff..0d114f50f75 100644 --- a/source/blender/editors/screen/screen_ops.cc +++ b/source/blender/editors/screen/screen_ops.cc @@ -4126,6 +4126,7 @@ static int area_join_modal(bContext *C, wmOperator *op, const wmEvent *event) { if (event->type == WINDEACTIVATE) { /* This operator can close windows, which can cause it to be re-run. */ + area_join_exit(C, op); return OPERATOR_FINISHED; }