File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Plugins/Flow.Launcher.Plugin.Explorer Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ private async Task SetImageAsync(string imageName)
160
160
private void KeyEsc_OnPress ( object sender , ExecutedRoutedEventArgs e )
161
161
{
162
162
if ( _button == MessageBoxButton . YesNo )
163
+ // Follow System.Windows.MessageBox behavior
163
164
return ;
164
165
else if ( _button == MessageBoxButton . OK )
165
166
_result = MessageBoxResult . OK ;
@@ -188,6 +189,7 @@ private void Button_Click(object sender, RoutedEventArgs e)
188
189
private void Button_Cancel ( object sender , RoutedEventArgs e )
189
190
{
190
191
if ( _button == MessageBoxButton . YesNo )
192
+ // Follow System.Windows.MessageBox behavior
191
193
return ;
192
194
else if ( _button == MessageBoxButton . OK )
193
195
_result = MessageBoxResult . OK ;
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
199
199
{
200
200
if ( Context . API . ShowMsgBox (
201
201
string . Format ( Context . API . GetTranslation ( "plugin_explorer_delete_folder_link" ) , record . FullPath ) ,
202
- string . Empty ,
202
+ Context . API . GetTranslation ( "plugin_explorer_deletefilefolder" ) ,
203
203
MessageBoxButton . YesNo ,
204
204
MessageBoxImage . Warning )
205
205
== MessageBoxResult . No )
You can’t perform that action at this time.
0 commit comments