Add tooltip for small defaults - hide TM

This commit is contained in:
Desmis
2018-12-30 13:55:49 +01:00
parent 908d34d462
commit d54198cc56
9 changed files with 150 additions and 14 deletions

View File

@@ -389,6 +389,8 @@ void ParamsEdited::set(bool v)
locallab.expsoft = v;
locallab.streng = v;
locallab.sensisf = v;
//Lab region
locallab.explabregion = v;
// Blur & Noise
locallab.expblur = v;
locallab.radius = v;
@@ -1086,6 +1088,8 @@ void ParamsEdited::initFrom(const std::vector<rtengine::procparams::ProcParams>&
locallab.expsoft = locallab.expsoft && p.locallab.expsoft == other.locallab.expsoft;
locallab.streng = locallab.streng && p.locallab.streng == other.locallab.streng;
locallab.sensisf = locallab.sensisf && p.locallab.sensisf == other.locallab.sensisf;
//Lab region
locallab.explabregion = locallab.explabregion && p.locallab.explabregion == other.locallab.explabregion;
// Blur & Noise
locallab.expblur = locallab.expblur && p.locallab.expblur == other.locallab.expblur;
locallab.radius = locallab.radius && p.locallab.radius == other.locallab.radius;
@@ -2754,6 +2758,11 @@ void ParamsEdited::combine(rtengine::procparams::ProcParams& toEdit, const rteng
toEdit.locallab.sensisf = mods.locallab.sensisf;
}
//Lab region
if (locallab.explabregion) {
toEdit.locallab.explabregion = mods.locallab.explabregion;
}
// Blur & Noise
if (locallab.expblur) {
toEdit.locallab.expblur = mods.locallab.expblur;