Skip to content

Commit 0077856

Browse files
committed
Return for exceptions
1 parent 3dcf22e commit 0077856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Helper/RenameThing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public static void Rename(string NewFileName, FileSystemInfo oldInfo, IPublicAPI
8787
return;
8888
case ElementAlreadyExistsException:
8989
api.ShowMsgError(string.Format(api.GetTranslation("plugin_explorer_element_already_exists"), NewFileName));
90-
break;
90+
return;
9191
default:
9292
string msg = exception.Message;
9393
if (!string.IsNullOrEmpty(msg))

0 commit comments

Comments
 (0)