Skip to content

Commit 31cba99

Browse files
authored
Merge pull request #3598 from onesounds/DeleteByESC
Change delete confirmation dialog from Yes/No to OK/Cancel
2 parents d159adb + abef617 commit 31cba99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ public List<Result> LoadContextMenus(Result selectedResult)
200200
if (Context.API.ShowMsgBox(
201201
string.Format(Context.API.GetTranslation("plugin_explorer_delete_folder_link"), record.FullPath),
202202
Context.API.GetTranslation("plugin_explorer_deletefilefolder"),
203-
MessageBoxButton.YesNo,
203+
MessageBoxButton.OKCancel,
204204
MessageBoxImage.Warning)
205-
== MessageBoxResult.No)
205+
== MessageBoxResult.Cancel)
206206
return false;
207207

208208
if (isFile)

0 commit comments

Comments
 (0)