summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/CMakeSetupDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.cpp')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp5
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();