From 091f53f539466730bacdb79ae447edd4ea804231 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Fri, 4 Oct 2002 12:56:22 -0400 Subject: [PATCH] FIX: re-enable the OK button in RunCmake() when everything is done. --- Source/MFCDialog/CMakeSetupDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index fc8ccd692..04f1d9a84 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; } }