File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -422,7 +422,6 @@ private void LoadContextMenu()
422422 _ = Task . Run ( ( ) => DialogJump . JumpToPathAsync ( DialogWindowHandle , dialogJumpResult . DialogJumpPath ) ) ;
423423 }
424424 }
425-
426425 return ;
427426 }
428427
@@ -1358,14 +1357,20 @@ private List<Result> GetHistoryItems(IEnumerable<LastOpenedHistoryItem> historyI
13581357 {
13591358 if ( reflectResult . Action != null )
13601359 {
1360+ // Since some actions may need to hide the Flow window to execute
1361+ // So let us populate the results of them
13611362 return reflectResult . Action ( c ) ;
13621363 }
13631364 if ( reflectResult . AsyncAction != null )
13641365 {
1365- return await reflectResult . AsyncAction ( c ) ;
1366+ // Since some actions may need to hide the Flow window to execute
1367+ // So let us populate the results of them
1368+ return await reflectResult . AsyncAction ( c ) ;
13661369 }
13671370 return false ;
13681371 }
1372+
1373+ // If we cannot get the result, fallback to re-query
13691374 App . API . BackToQueryResults ( ) ;
13701375 App . API . ChangeQuery ( h . Query ) ;
13711376 return false ;
You can’t perform that action at this time.
0 commit comments