aboutsummaryrefslogtreecommitdiff
path: root/src/text_file_functions.cpp
diff options
context:
space:
mode:
authorlambdcalculus <64238778+lambdcalculus@users.noreply.github.com>2023-08-21 20:06:30 -0300
committerGitHub <noreply@github.com>2023-08-22 01:06:30 +0200
commit98682ae13f0c1d5d65c9614caae4d73603bad0bd (patch)
tree4935a5f9c82cf763ede59c5b81f5207b04472702 /src/text_file_functions.cpp
parenta962ba08bae3b6d72c4974552db7768d1904579b (diff)
fix options combobox behavior (#918)
the combobox text, instead of data, was being saved to config
Diffstat (limited to 'src/text_file_functions.cpp')
-rw-r--r--src/text_file_functions.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}