summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog
diff options
context:
space:
mode:
Diffstat (limited to 'Source/MFCDialog')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index 40d7016..81f92bc 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -633,6 +633,8 @@ void CMakeSetupDialog::OnChangeWhereSource()
// callback for changing the build directory
void CMakeSetupDialog::OnChangeWhereBuild()
{
+ this->UpdateData();
+
// The build dir has changed, check if there is a cache, and
// grab the source dir from it
@@ -654,7 +656,6 @@ void CMakeSetupDialog::OnChangeWhereBuild()
this->OnChangeWhereSource();
}
- this->UpdateData();
m_CacheEntriesList.RemoveAll();
m_CacheEntriesList.ShowWindow(SW_SHOW);
this->LoadCacheFromDiskToGUI();