ENH: only change the cache if the value was really changed
This commit is contained in:
parent
4ddcdbed9a
commit
65e3842d51
|
@ -810,8 +810,8 @@ 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());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue