mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-04 04:28:30 -04:00
launcher: don't select pre-filled queries, exclude from memory
port 1.5
(cherry picked from commit ea66b136ba)
This commit is contained in:
@@ -36,6 +36,7 @@ Item {
|
||||
property int viewModeVersion: 0
|
||||
property string viewModeContext: "spotlight"
|
||||
property bool forceLinearNavigation: false
|
||||
property bool explicitQuerySession: false
|
||||
|
||||
signal itemExecuted
|
||||
signal searchCompleted
|
||||
@@ -54,7 +55,7 @@ Item {
|
||||
if (active)
|
||||
return;
|
||||
|
||||
SessionData.addLauncherHistory(searchQuery);
|
||||
SessionData.addLauncherHistory(searchQuery, explicitQuerySession);
|
||||
sections = [];
|
||||
flatModel = [];
|
||||
selectedItem = null;
|
||||
@@ -1940,7 +1941,7 @@ Item {
|
||||
if (!item)
|
||||
return;
|
||||
|
||||
SessionData.addLauncherHistory(searchQuery);
|
||||
SessionData.addLauncherHistory(searchQuery, explicitQuerySession);
|
||||
|
||||
if (item.type === "plugin_browse") {
|
||||
var browsePluginId = item.data?.pluginId;
|
||||
|
||||
Reference in New Issue
Block a user