summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history.cpp')
-rw-r--r--plugins/NewStory/src/history.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history.cpp b/plugins/NewStory/src/history.cpp
index f2d7a09c61..a1e901ee04 100644
--- a/plugins/NewStory/src/history.cpp
+++ b/plugins/NewStory/src/history.cpp
@@ -602,7 +602,9 @@ public:
void onClick_Delete(CCtrlButton *)
{
- m_histControl.SendMsg(NSM_DELETE, 0, 0);
+ svcEmptyHistory(m_hContact, 0);
+ m_histControl.SendMsg(NSM_CLEAR, 0, 0);
+
UpdateTitle();
TimeTreeBuild();
}