From 98682ae13f0c1d5d65c9614caae4d73603bad0bd Mon Sep 17 00:00:00 2001 From: lambdcalculus <64238778+lambdcalculus@users.noreply.github.com> Date: Mon, 21 Aug 2023 20:06:30 -0300 Subject: fix options combobox behavior (#918) the combobox text, instead of data, was being saved to config --- src/text_file_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/text_file_functions.cpp') diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index 9741128a..8aba93fd 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -153,7 +153,7 @@ Qt::TransformationMode AOApplication::get_scaling(QString p_scaling) if (p_scaling.isEmpty()) p_scaling = Options::getInstance().defaultScalingMode(); - if (p_scaling == "Smooth") + if (p_scaling == "smooth") return Qt::SmoothTransformation; return Qt::FastTransformation; } -- cgit