File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
Flow.Launcher.Plugin.Explorer
Flow.Launcher.Plugin.Program Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1273,6 +1273,8 @@ private Result ContextMenuTopMost(Result result)
1273
1273
{
1274
1274
_topMostRecord . Remove ( result ) ;
1275
1275
App . API . ShowMsg ( InternationalizationManager . Instance . GetTranslation ( "success" ) ) ;
1276
+ App . API . BackToQueryResults ( ) ;
1277
+ App . API . ReQuery ( ) ;
1276
1278
return false ;
1277
1279
}
1278
1280
} ;
@@ -1289,6 +1291,8 @@ private Result ContextMenuTopMost(Result result)
1289
1291
{
1290
1292
_topMostRecord . AddOrUpdate ( result ) ;
1291
1293
App . API . ShowMsg ( InternationalizationManager . Instance . GetTranslation ( "success" ) ) ;
1294
+ App . API . BackToQueryResults ( ) ;
1295
+ App . API . ReQuery ( ) ;
1292
1296
return false ;
1293
1297
}
1294
1298
} ;
Original file line number Diff line number Diff line change @@ -242,6 +242,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
242
242
var name = "Plugin: Folder" ;
243
243
var message = $ "File not found: { e . Message } ";
244
244
Context . API . ShowMsgError ( name , message ) ;
245
+ return false ;
245
246
}
246
247
247
248
return true ;
Original file line number Diff line number Diff line change @@ -264,6 +264,8 @@ public List<Result> LoadContextMenus(Result selectedResult)
264
264
Context . API . GetTranslation ( "flowlauncher_plugin_program_disable_dlgtitle_success" ) ,
265
265
Context . API . GetTranslation (
266
266
"flowlauncher_plugin_program_disable_dlgtitle_success_message" ) ) ;
267
+ Context . API . BackToQueryResults ( ) ;
268
+ Context . API . ReQuery ( ) ;
267
269
return false ;
268
270
} ,
269
271
IcoPath = "Images/disable.png" ,
You can’t perform that action at this time.
0 commit comments