Skip to content

Commit c8a2f10

Browse files
authored
Introduce param "reselect" to ReQuery instance
1 parent ae84dae commit c8a2f10

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,10 @@ public interface IPublicAPI
293293
public bool IsGameModeOn();
294294

295295
/// <summary>
296-
/// Reload Query
296+
/// Reloads the query.
297+
/// This method should run
297298
/// </summary>
298-
/// <returns></returns>
299-
public void ReQuery();
299+
/// <param name="reselect">Choose the first result after reload if true; keep the last selected result if false. Default is true.</param>
300+
public void ReQuery(bool reselect = true);
300301
}
301302
}

0 commit comments

Comments
 (0)