summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-10-04 16:56:22 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-10-04 16:56:22 (GMT)
commit091f53f539466730bacdb79ae447edd4ea804231 (patch)
treee12beac139a785d05a6e0ac37cde300c2f1a645e /Source/MFCDialog
parentf68f7c2550a76cde75d422b2cda98165bfb6bff9 (diff)
downloadCMake-091f53f539466730bacdb79ae447edd4ea804231.zip
CMake-091f53f539466730bacdb79ae447edd4ea804231.tar.gz
CMake-091f53f539466730bacdb79ae447edd4ea804231.tar.bz2
FIX: re-enable the OK button in RunCmake() when everything is done.
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 fc8ccd6..04f1d9a 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -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;
}
}