summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/historyform.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/historyform.cpp b/src/gui/historyform.cpp
index 1466110..15b882a 100644
--- a/src/gui/historyform.cpp
+++ b/src/gui/historyform.cpp
@@ -125,6 +125,8 @@ void HistoryForm::loadHistory()
unsigned long totalCallDuration = 0;
unsigned long totalConversationDuration = 0;
+ m_model->setRowCount(0);
+
std::list<t_call_record> history;
call_history->get_history(history);