diff options
Diffstat (limited to 'Source/MFCDialog')
-rw-r--r-- | Source/MFCDialog/CMakeSetupDialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index 6a294f0..4b2fbe9 100644 --- a/Source/MFCDialog/CMakeSetupDialog.cpp +++ b/Source/MFCDialog/CMakeSetupDialog.cpp @@ -206,7 +206,10 @@ BOOL CMakeSetupDialog::OnInitDialog() { m_GeneratorChoice.AddString(i->c_str()); } - m_GeneratorChoiceString = "Visual Studio 6"; + if (m_GeneratorChoiceString == _T("")) + { + m_GeneratorChoiceString = "Visual Studio 6"; + } // try to load the cmake cache from disk this->LoadCacheFromDiskToGUI(); |