From 047c5eca413d45854a2c1762c8143f90c32bb6a1 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Wed, 15 Jan 2025 05:22:35 +0400 Subject: fix: Query duplication in global message search (#1636) --- main/src/ui/global_search.vala | 1 + 1 file changed, 1 insertion(+) (limited to 'main/src') diff --git a/main/src/ui/global_search.vala b/main/src/ui/global_search.vala index 51e04af2..019d82af 100644 --- a/main/src/ui/global_search.vala +++ b/main/src/ui/global_search.vala @@ -100,6 +100,7 @@ public class GlobalSearch { private void on_key_released(uint keyval, uint keycode, Gdk.ModifierType state) { if (keyval == Gdk.Key.Return) { auto_complete_list.get_selected_row().activate(); + auto_complete_list.select_row(auto_complete_list.get_row_at_index(-1)); } } -- cgit v1.2.3-70-g09d2