Update resize.cc

Fixes the issue that values in Resize-GUI are not recomputed when loading profile.
E.g. loaded from profile are Specify: width, value for width, value for height => loaded value for height was displayed even if  not corresponding to width for this picture's dimensions.
This commit is contained in:
Bezierr 2021-07-27 14:10:18 +02:00
parent ff9e08f21c
commit 7d02d77fc1

View File

@ -190,6 +190,8 @@ void Resize::read (const ProcParams* pp, const ParamsEdited* pedited)
set_inconsistent (multiImage && !pedited->resize.enabled); set_inconsistent (multiImage && !pedited->resize.enabled);
} }
setDimensions(); // fixes the issue that values in GUI are not recomputed when loading profile
scale->block(false); scale->block(false);
sconn.block (false); sconn.block (false);
wconn.block (false); wconn.block (false);