Fix DPI checkbox bug

This commit is contained in:
Nicolas Mailloux 2021-04-06 21:39:08 -04:00
parent 4e9bc465d2
commit 0e4d19b626

View file

@ -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();