[gnote] Fix --search
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix --search
- Date: Sat, 2 Jan 2021 14:35:18 +0000 (UTC)
commit 0524ad55513e5c9ae8f0a070069f85a253cd4298
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat Jan 2 16:06:14 2021 +0200
Fix --search
src/recentchanges.cpp | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 9cb8de49..2030ad45 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -347,6 +347,11 @@ 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]