diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2025-01-15 05:22:35 +0400 |
---|---|---|
committer | Miquel Lionel <lionel@les-miquelots.net> | 2025-01-24 09:26:42 +0400 |
commit | be9178087d79026ed3564de57289bc1f1da73a38 (patch) | |
tree | bf29ca389628400a6a0d9070efc7c8f9d72e6467 /main | |
parent | 6322ed819e47d9c3371f214e4209d01cac1abfcf (diff) | |
download | dino-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.vala | 2 |
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(); } |