[gnote/tabbed] Ignore the open in new window setting in recent changes



commit e56ed8bd40e640861885296211d0b0f94f3b1696
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Nov 21 21:26:19 2021 +0200

    Ignore the open in new window setting in recent changes

 src/recentchanges.cpp | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 30aa1584..eef70342 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -505,13 +505,8 @@ namespace gnote {
 
   void NoteRecentChanges::on_open_note(const Note::Ptr & note)
   {
-    if(m_preferences.open_notes_in_new_window()) {
-      on_open_note_new_window(note);
-    }
-    else {
-      if(!present_active(note)) {
-        present_note(note);
-      }
+    if(!present_active(note)) {
+      present_note(note);
     }
   }
 


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