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,11 +810,11 @@ void cmCursesMainForm::FillCacheManagerFromUI()
{
// The user has changed the value. Mark it as modified.
it.SetProperty("MODIFIED", true);
}
it.SetValue(fixedNewValue.c_str());
}
}
}
}
void cmCursesMainForm::FixValue(cmCacheManager::CacheEntryType type,
const std::string& in, std::string& out) const