From 0e4d19b626a595ec8ef0411d6dccf826ecefdde6 Mon Sep 17 00:00:00 2001 From: Nicolas Mailloux Date: Tue, 6 Apr 2021 21:39:08 -0400 Subject: [PATCH] Fix DPI checkbox bug --- settings.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/settings.cpp b/settings.cpp index 3b46f46..b32feec 100644 --- a/settings.cpp +++ b/settings.cpp @@ -155,6 +155,9 @@ settings::settings(QWidget *parent) : } // DPI checkbox + if(checkconfig(".config/09-dpi/config") != false) { + string_writeconfig(".config/09-dpi/config-enabled", "false"); + } if(checkconfig_rw(".config/09-dpi/config-enabled") == true) { ui_not_user_change = true; ui->enableUiScalingCheckBox->click();