From 2a1bd08e23fea526ba4a764b1724b9f42ec145dc Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sat, 23 Jun 2012 18:02:55 +0200 Subject: [PATCH] Fixed issue #947: The "Git check for modifications" form does not remember the setting for "Show unversioned files" Signed-off-by: Sven Strickroth --- src/Changelog.txt | 1 + src/TortoiseProc/ChangedDlg.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Changelog.txt b/src/Changelog.txt index 3f735a3a2..c9c59472d 100644 --- a/src/Changelog.txt +++ b/src/Changelog.txt @@ -22,6 +22,7 @@ Released: unreleased * Fixed issue #1229: Progress Window Gains Focus on Command Completion * Fixed issue #1231: incorrect behavior of squash in rebase/cherry pick * Fixed issue #1233: Could not go to annotated tag + * Fixed issue #947: The "Git check for modifications" form does not remember the setting for "Show unversioned files" = Release 1.7.10.0 = Released: 2012-06-03 diff --git a/src/TortoiseProc/ChangedDlg.cpp b/src/TortoiseProc/ChangedDlg.cpp index b3043b901..d46f77ba9 100644 --- a/src/TortoiseProc/ChangedDlg.cpp +++ b/src/TortoiseProc/ChangedDlg.cpp @@ -235,10 +235,10 @@ DWORD CChangedDlg::UpdateShowFlags() void CChangedDlg::OnBnClickedShowunversioned() { UpdateData(); + m_regAddBeforeCommit = m_bShowUnversioned; if(m_FileListCtrl.m_FileLoaded & CGitStatusListCtrl::FILELIST_UNVER) { m_FileListCtrl.Show(UpdateShowFlags()); - m_regAddBeforeCommit = m_bShowUnversioned; } else { -- 2.11.4.GIT