[gnome-text-editor: 1/2] search-bar: fixes up/down search move




commit 7bc9b17e9f087dcf1b5dce695dd4d6dc16bfcad1
Author: Günther Wagner <info gunibert de>
Date:   Tue Jul 20 12:48:21 2021 +0200

    search-bar: fixes up/down search move

 src/editor-search-bar.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/editor-search-bar.c b/src/editor-search-bar.c
index 887c01d..eeb063c 100644
--- a/src/editor-search-bar.c
+++ b/src/editor-search-bar.c
@@ -319,11 +319,11 @@ on_search_key_pressed_cb (GtkEventControllerKey *key,
       switch (keyval)
         {
         case GDK_KEY_Up:
-          _editor_search_bar_move_next (self, FALSE);
+          _editor_search_bar_move_previous (self, FALSE);
           return TRUE;
 
         case GDK_KEY_Down:
-          _editor_search_bar_move_previous (self, FALSE);
+          _editor_search_bar_move_next (self, FALSE);
           return TRUE;
 
         default:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]