[gnote] Update backlinks



commit 35eaf166700e8e5764840de5710cf5dae71790d4
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Tue Dec 3 22:18:58 2019 +0200

    Update backlinks

 src/addins/backlinks/backlinksnoteaddin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/addins/backlinks/backlinksnoteaddin.cpp b/src/addins/backlinks/backlinksnoteaddin.cpp
index 2ac540a0..6b616f7e 100644
--- a/src/addins/backlinks/backlinksnoteaddin.cpp
+++ b/src/addins/backlinks/backlinksnoteaddin.cpp
@@ -65,7 +65,7 @@ void BacklinksNoteAddin::on_open_note(const Glib::VariantBase & param)
   Glib::ustring uri = Glib::VariantBase::cast_dynamic<Glib::Variant<Glib::ustring>>(param).get();
   gnote::NoteBase::Ptr note = get_note()->manager().find_by_uri(uri);
   if(note) {
-    gnote::MainWindow::present_in_new_window(std::static_pointer_cast<gnote::Note>(note),
+    gnote::MainWindow::present_in_new_window(ignote(), std::static_pointer_cast<gnote::Note>(note),
       ignote().preferences().get_schema_settings(gnote::Preferences::SCHEMA_GNOTE)->
         get_boolean(gnote::Preferences::ENABLE_CLOSE_NOTE_ON_ESCAPE));
   }


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