summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-08-02 19:51:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-08-02 19:51:00 +0300
commitb06f5e8ee63c43c0fa6fb5c64f059eb487b9eff8 (patch)
treef3aa5866e528344da9f6627251ab378db6d5b0a3
parent46d2305c53d3c43fed39870a32f7cf598db5de8d (diff)
fixes #2511 (Notes and Reminders: не убираются напоминания)
-rw-r--r--plugins/NotesAndReminders/src/reminders.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/NotesAndReminders/src/reminders.cpp b/plugins/NotesAndReminders/src/reminders.cpp
index 52d0293005..f03f92ccdf 100644
--- a/plugins/NotesAndReminders/src/reminders.cpp
+++ b/plugins/NotesAndReminders/src/reminders.cpp
@@ -1114,11 +1114,12 @@ public:
return true;
}
- bool OnApply() override
+ bool OnClose() override
{
if (m_pReminder)
DeleteReminder(m_pReminder);
JustSaveReminders();
+ NotifyList();
return true;
}