Return for exceptions

This commit is contained in:
Jack251970 2025-07-10 22:48:00 +08:00
parent 3dcf22ec45
commit 00778560f8

View file

@ -87,7 +87,7 @@ public static class RenameThing
return;
case ElementAlreadyExistsException:
api.ShowMsgError(string.Format(api.GetTranslation("plugin_explorer_element_already_exists"), NewFileName));
break;
return;
default:
string msg = exception.Message;
if (!string.IsNullOrEmpty(msg))