Forgot to return actual value in previous own commit.
Sorry about the noise...
This commit is contained in:
@@ -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... */
|
||||
|
Reference in New Issue
Block a user