Merge pull request #3598 from onesounds/DeleteByESC

Change delete confirmation dialog from Yes/No to OK/Cancel
This commit is contained in:
DB P 2025-05-30 18:26:04 +09:00 committed by GitHub
commit 31cba99008
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -200,9 +200,9 @@ namespace Flow.Launcher.Plugin.Explorer
if (Context.API.ShowMsgBox(
string.Format(Context.API.GetTranslation("plugin_explorer_delete_folder_link"), record.FullPath),
Context.API.GetTranslation("plugin_explorer_deletefilefolder"),
MessageBoxButton.YesNo,
MessageBoxButton.OKCancel,
MessageBoxImage.Warning)
== MessageBoxResult.No)
== MessageBoxResult.Cancel)
return false;
if (isFile)