ENH: only change the cache if the value was really changed

This commit is contained in:
Bill Hoffman 2006-08-10 11:05:44 -04:00
parent 4ddcdbed9a
commit 65e3842d51

View File

@ -810,10 +810,10 @@ void cmCursesMainForm::FillCacheManagerFromUI()
{ {
// The user has changed the value. Mark it as modified. // The user has changed the value. Mark it as modified.
it.SetProperty("MODIFIED", true); it.SetProperty("MODIFIED", true);
}
it.SetValue(fixedNewValue.c_str()); it.SetValue(fixedNewValue.c_str());
} }
} }
}
} }
void cmCursesMainForm::FixValue(cmCacheManager::CacheEntryType type, void cmCursesMainForm::FixValue(cmCacheManager::CacheEntryType type,