diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-10-04 16:56:22 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-10-04 16:56:22 (GMT) |
commit | 091f53f539466730bacdb79ae447edd4ea804231 (patch) | |
tree | e12beac139a785d05a6e0ac37cde300c2f1a645e /Source/MFCDialog | |
parent | f68f7c2550a76cde75d422b2cda98165bfb6bff9 (diff) | |
download | CMake-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.cpp | 3 |
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; } } |