• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision29263 (tree)
Time2021-09-29 02:23:14
Authorstefankueng

Log Message

save the monitoring project data before every reload

Change Summary

Incremental Difference

--- trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 29262)
+++ trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 29263)
@@ -9556,10 +9556,9 @@
95569556 if (!m_sMonitorNotificationTitle.IsEmpty() && !m_sMonitorNotificationText.IsEmpty())
95579557 {
95589558 SetTimer(MONITOR_POPUP_TIMER, 10, nullptr);
9559- SaveMonitorProjects(true);
95609559 }
9561- else
9562- SaveMonitorProjects(hasNewChildren);
9560+ SaveMonitorProjects(true);
9561+
95639562 if (hasNewChildren)
95649563 RefreshMonitorProjTree();
95659564
@@ -9902,6 +9901,7 @@
99029901
99039902 LRESULT CLogDlg::OnTaskbarCreated(WPARAM /*wParam*/, LPARAM /*lParam*/)
99049903 {
9904+ SaveMonitorProjects(false);
99059905 RefreshMonitorProjTree();
99069906 return 0;
99079907 }
@@ -10071,6 +10071,7 @@
1007110071
1007210072 LRESULT CLogDlg::OnReloadIniMsg(WPARAM /*wParam*/, LPARAM /*lParam*/)
1007310073 {
10074+ SaveMonitorProjects(false);
1007410075 InitMonitorProjTree();
1007510076 return 0;
1007610077 }
@@ -10233,6 +10234,7 @@
1023310234 setUuidOverlayIcon(m_hWnd);
1023410235 if (m_bMonitoringMode)
1023510236 {
10237+ SaveMonitorProjects(true);
1023610238 RefreshMonitorProjTree();
1023710239 // find the first project with unread items
1023810240 HTREEITEM hUnreadItem = nullptr;
Show on old repository browser