Forgot to return actual value in previous own commit.

Sorry about the noise...
This commit is contained in:
Bastien Montagne
2018-02-07 22:26:11 +01:00
parent 49745aa5ff
commit 00d2dfa93a

View File

@@ -403,7 +403,7 @@ static int wm_link_append_exec(bContext *C, wmOperator *op)
if (lapp_data->num_items == 0) {
/* Early out in case there is nothing to link. */
wm_link_append_data_free(lapp_data);
return;
return OPERATOR_CANCELLED;
}
/* XXX We'd need re-entrant locking on Main for this to work... */