[tomboy] RecentChanges.cs: disconnect "note deleted" handler on window close



commit 0f1e67af69b86194b5370ec0c469db6c96fdcd2f
Author: Alex Tereschenko <frozen and blue gmail com>
Date:   Thu Jul 13 20:36:10 2017 +0200

    RecentChanges.cs: disconnect "note deleted" handler on window close
    
    Fixes #52.
    
    Signed-off-by: Alex Tereschenko <frozen and blue gmail com>

 Tomboy/RecentChanges.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Tomboy/RecentChanges.cs b/Tomboy/RecentChanges.cs
index 7b5f9f9..c335188 100644
--- a/Tomboy/RecentChanges.cs
+++ b/Tomboy/RecentChanges.cs
@@ -1098,7 +1098,7 @@ namespace Tomboy
                void OnCloseWindow (object sender, EventArgs args)
                {
                        // Disconnect external signal handlers to prevent bloweup
-                       manager.NoteDeleted -= OnNotesChanged;
+                       manager.NoteDeleted -= OnNotesDeleted;
                        manager.NoteAdded -= OnNotesChanged;
                        manager.NoteRenamed -= OnNoteRenamed;
                        manager.NoteSaved -= OnNoteSaved;


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