FIX: stupid pb fixed (close to being medieval'ed by The Ken)

This commit is contained in:
Sebastien Barre 2002-08-01 16:23:07 -04:00
parent be3a15d45f
commit eebc39d199
1 changed files with 2 additions and 1 deletions

View File

@ -633,6 +633,8 @@ void CMakeSetupDialog::OnChangeWhereSource()
// callback for changing the build directory // callback for changing the build directory
void CMakeSetupDialog::OnChangeWhereBuild() void CMakeSetupDialog::OnChangeWhereBuild()
{ {
this->UpdateData();
// The build dir has changed, check if there is a cache, and // The build dir has changed, check if there is a cache, and
// grab the source dir from it // grab the source dir from it
@ -654,7 +656,6 @@ void CMakeSetupDialog::OnChangeWhereBuild()
this->OnChangeWhereSource(); this->OnChangeWhereSource();
} }
this->UpdateData();
m_CacheEntriesList.RemoveAll(); m_CacheEntriesList.RemoveAll();
m_CacheEntriesList.ShowWindow(SW_SHOW); m_CacheEntriesList.ShowWindow(SW_SHOW);
this->LoadCacheFromDiskToGUI(); this->LoadCacheFromDiskToGUI();