From c8a2f10620e46265b879077244ccc452a7dfcff4 Mon Sep 17 00:00:00 2001
From: AminSallah <124622454+AminSallah@users.noreply.github.com>
Date: Sun, 25 Feb 2024 04:29:14 +0200
Subject: [PATCH] Introduce param "reselect" to ReQuery instance
---
Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
index 78f1e0afa..c95a8ce7b 100644
--- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
+++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
@@ -293,9 +293,10 @@ namespace Flow.Launcher.Plugin
public bool IsGameModeOn();
///
- /// Reload Query
+ /// Reloads the query.
+ /// This method should run
///
- ///
- public void ReQuery();
+ /// Choose the first result after reload if true; keep the last selected result if false. Default is true.
+ public void ReQuery(bool reselect = true);
}
}