FIX: re-enable the OK button in RunCmake() when everything is done.

This commit is contained in:
Sebastien Barre 2002-10-04 12:56:22 -04:00
parent f68f7c2550
commit 091f53f539
1 changed files with 2 additions and 1 deletions

View File

@ -615,6 +615,7 @@ void CMakeSetupDialog::RunCMake(bool generateProjectFiles)
m_BuildPathChanged = false;
// put the cursor back
::SetCursor(LoadCursor(NULL, IDC_ARROW));
m_OKButton.EnableWindow(true);
cmSystemTools::ResetErrorOccuredFlag();
}
@ -731,7 +732,7 @@ void CMakeSetupDialog::FillCacheGUIFromCacheManager()
{
if(i.GetPropertyAsBool("ADVANCED"))
{
m_CacheEntriesList.RemoveProperty(key);
m_CacheEntriesList.RemoveProperty(key);
continue;
}
}