summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-08-10 15:05:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-08-10 15:05:44 (GMT)
commit65e3842d513787e3e5b432af08743e6cc4f0a92f (patch)
tree8a668128c48ce011d1a4871ac5ad00b43f20d310
parent4ddcdbed9a0a0ed140ef4a2888acbb47da4e3361 (diff)
downloadCMake-65e3842d513787e3e5b432af08743e6cc4f0a92f.zip
CMake-65e3842d513787e3e5b432af08743e6cc4f0a92f.tar.gz
CMake-65e3842d513787e3e5b432af08743e6cc4f0a92f.tar.bz2
ENH: only change the cache if the value was really changed
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index f8f50ee..095ff43 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -810,8 +810,8 @@ void cmCursesMainForm::FillCacheManagerFromUI()
{
// The user has changed the value. Mark it as modified.
it.SetProperty("MODIFIED", true);
+ it.SetValue(fixedNewValue.c_str());
}
- it.SetValue(fixedNewValue.c_str());
}
}
}