[gnote] Fix crash in search as you type



commit 46935c66435f5fe2122bf4a9f944810227d747c5
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Thu May 20 22:09:36 2021 +0300

    Fix crash in search as you type

 src/recentchanges.cpp | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index e0a1e0f1..a2dd2aaa 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -342,11 +342,6 @@ namespace gnote {
 
   void NoteRecentChanges::show_search_bar(bool focus)
   {
-    if(!m_search_button.get_active()) {
-      m_search_button.activate();
-      return;
-    }
-
     make_search_box();
     if(m_search_box->get_visible()) {
       focus = false;


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