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)
160160 private void KeyEsc_OnPress ( object sender , ExecutedRoutedEventArgs e )
161161 {
162162 if ( _button == MessageBoxButton . YesNo )
163+ // Follow System.Windows.MessageBox behavior
163164 return ;
164165 else if ( _button == MessageBoxButton . OK )
165166 _result = MessageBoxResult . OK ;
@@ -188,6 +189,7 @@ private void Button_Click(object sender, RoutedEventArgs e)
188189 private void Button_Cancel ( object sender , RoutedEventArgs e )
189190 {
190191 if ( _button == MessageBoxButton . YesNo )
192+ // Follow System.Windows.MessageBox behavior
191193 return ;
192194 else if ( _button == MessageBoxButton . OK )
193195 _result = MessageBoxResult . OK ;
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
199199 {
200200 if ( Context . API . ShowMsgBox (
201201 string . Format ( Context . API . GetTranslation ( "plugin_explorer_delete_folder_link" ) , record . FullPath ) ,
202- string . Empty ,
202+ Context . API . GetTranslation ( "plugin_explorer_deletefilefolder" ) ,
203203 MessageBoxButton . YesNo ,
204204 MessageBoxImage . Warning )
205205 == MessageBoxResult . No )
You can’t perform that action at this time.
0 commit comments