ENH: only change the cache if the value was really changed
This commit is contained in:
parent
4ddcdbed9a
commit
65e3842d51
@ -810,11 +810,11 @@ 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,
|
||||||
const std::string& in, std::string& out) const
|
const std::string& in, std::string& out) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user