We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b95bbb3 commit c474b30Copy full SHA for c474b30
Flow.Launcher/Storage/UserSelectedRecord.cs
@@ -51,6 +51,11 @@ private static int GenerateResultHashCode(Result result)
51
52
private static int GenerateQueryAndResultHashCode(Query query, Result result)
53
{
54
+ if (query == null)
55
+ {
56
+ return GenerateResultHashCode(result);
57
+ }
58
+
59
int hashcode = GenerateStaticHashCode(query.ActionKeyword);
60
hashcode = GenerateStaticHashCode(query.Search, hashcode);
61
hashcode = GenerateStaticHashCode(result.Title, hashcode);
@@ -101,4 +106,4 @@ public int GetSelectedCount(Result result)
101
106
return selectedCount;
102
107
}
103
108
104
-}
109
+}
0 commit comments