[gnote] Fix crash on opening multiple windows



commit b5a65afdae1137d47951f20e870c286710951393
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sat Oct 6 22:32:02 2012 +0300

    Fix crash on opening multiple windows

 src/recentchanges.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 0379d6e..988cc6a 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -130,8 +130,8 @@ namespace gnote {
   void NoteRecentChanges::on_open_note_new_window(const Note::Ptr & note)
   {
     NoteRecentChanges::Ptr window = Gnote::obj().new_main_window();
-    window->present_note(note);
     window->present();
+    window->present_note(note);
   }
 
   void NoteRecentChanges::on_delete_note()



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