From 0359a2ea1aa103811ffdac2b5051b60f521266ea Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sat, 1 Jul 2017 14:24:57 +0200 Subject: [PATCH] No need to refresh log after opening statistics Signed-off-by: Sven Strickroth --- src/TortoiseProc/LogDlg.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/TortoiseProc/LogDlg.cpp b/src/TortoiseProc/LogDlg.cpp index 738bdf4dd..1c21020f5 100644 --- a/src/TortoiseProc/LogDlg.cpp +++ b/src/TortoiseProc/LogDlg.cpp @@ -1927,17 +1927,12 @@ void CLogDlg::OnBnClickedStatbutton() return; if (m_LogList.m_arShownList.empty() || m_LogList.m_arShownList.size() == 1 && m_LogList.m_bShowWC) return; // nothing or just the working copy changes are shown, so no statistics. - // the statistics dialog expects the log entries to be sorted by date - SortByColumn(3, false); CStatGraphDlg dlg; m_LogList.RecalculateShownList(&dlg.m_ShowList); dlg.m_path = m_orgPath; dlg.DoModal(); - // restore the previous sorting - SortByColumn(m_nSortColumn, m_bAscending); - OnTimer(LOGFILTER_TIMER); } void CLogDlg::MoveToSameTop(CWnd *pWndRef, CWnd *pWndTarget) -- 2.11.4.GIT