diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-10 15:05:44 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-10 15:05:44 (GMT) |
commit | 65e3842d513787e3e5b432af08743e6cc4f0a92f (patch) | |
tree | 8a668128c48ce011d1a4871ac5ad00b43f20d310 | |
parent | 4ddcdbed9a0a0ed140ef4a2888acbb47da4e3361 (diff) | |
download | CMake-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.cxx | 2 |
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()); } } } |