diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-02-08 00:26:11 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-02-08 00:26:37 +0300 |
commit | 00d2dfa93ae8a84b163930246709c50b8ee1e148 (patch) | |
tree | 05c683565707a772db543dc46bb6345fb1946536 /source/blender/windowmanager | |
parent | 49745aa5ff63d054d36b3384ecb37835307e149c (diff) |
Forgot to return actual value in previous own commit.
Sorry about the noise...
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files_link.c b/source/blender/windowmanager/intern/wm_files_link.c index 171863454d9..fb611290aa5 100644 --- a/source/blender/windowmanager/intern/wm_files_link.c +++ b/source/blender/windowmanager/intern/wm_files_link.c @@ -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... */ |