aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2025-01-15 05:22:35 +0400
committerMiquel Lionel <lionel@les-miquelots.net>2025-01-24 09:26:42 +0400
commitbe9178087d79026ed3564de57289bc1f1da73a38 (patch)
treebf29ca389628400a6a0d9070efc7c8f9d72e6467 /main
parent6322ed819e47d9c3371f214e4209d01cac1abfcf (diff)
downloaddino-be9178087d79026ed3564de57289bc1f1da73a38.tar.gz
dino-be9178087d79026ed3564de57289bc1f1da73a38.zip
fix: Query duplication in global message search (#1636)fix-global-search-entry
Diffstat (limited to 'main')
-rw-r--r--main/src/ui/global_search.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/ui/global_search.vala b/main/src/ui/global_search.vala
index 51e04af2..5042b09c 100644
--- a/main/src/ui/global_search.vala
+++ b/main/src/ui/global_search.vala
@@ -98,6 +98,8 @@ public class GlobalSearch {
}
private void on_key_released(uint keyval, uint keycode, Gdk.ModifierType state) {
+ if (!auto_complete_overlay.visible) return;
+
if (keyval == Gdk.Key.Return) {
auto_complete_list.get_selected_row().activate();
}