fix [#22007] Saving a read-only file on windows : no warning and temporary files left there

* return OPERATOR_FINISHED from file save, so reports are not suppressed - this results in popup with the expected error in this case.
This commit is contained in:
Andrea Weikert
2010-04-14 20:27:45 +00:00
parent 3f4a28dcf1
commit 72a73fc9fb

View File

@@ -1796,7 +1796,7 @@ static int wm_save_as_mainfile_exec(bContext *C, wmOperator *op)
WM_event_add_notifier(C, NC_WM|ND_FILESAVE, NULL);
return 0;
return OPERATOR_FINISHED;
}
static void WM_OT_save_as_mainfile(wmOperatorType *ot)