From 7d02d77fc1464061a2b8dfd2bff8b5a785fb2c9e Mon Sep 17 00:00:00 2001 From: Bezierr Date: Tue, 27 Jul 2021 14:10:18 +0200 Subject: [PATCH] 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. --- rtgui/resize.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rtgui/resize.cc b/rtgui/resize.cc index a65875426..c48fa246f 100644 --- a/rtgui/resize.cc +++ b/rtgui/resize.cc @@ -190,6 +190,8 @@ void Resize::read (const ProcParams* pp, const ParamsEdited* pedited) set_inconsistent (multiImage && !pedited->resize.enabled); } + setDimensions(); // fixes the issue that values in GUI are not recomputed when loading profile + scale->block(false); sconn.block (false); wconn.block (false);