summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FLTKDialog/CMakeSetupGUIImplementation.cxx')
-rw-r--r--Source/FLTKDialog/CMakeSetupGUIImplementation.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
index bba16ab..7f1a20f 100644
--- a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
+++ b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
@@ -230,12 +230,15 @@ CMakeSetupGUIImplementation
if( m_WhereBuild != expandedAbsolutePath )
{
- m_BuildPathChanged = true;
- m_WhereBuild = expandedAbsolutePath;
+ m_BuildPathChanged = true;
+ m_WhereBuild = expandedAbsolutePath;
+ LoadCacheFromDiskToGUI();
+ }
+ else
+ {
+ m_BuildPathChanged = false;
}
- LoadCacheFromDiskToGUI();
-
return true;
}