mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
Fix DPI options not enabling in Settings (N705)
This commit is contained in:
parent
0e4d19b626
commit
03776b9b1f
1 changed files with 7 additions and 2 deletions
|
@ -155,10 +155,15 @@ settings::settings(QWidget *parent) :
|
|||
}
|
||||
|
||||
// DPI checkbox
|
||||
if(checkconfig(".config/09-dpi/config") != false) {
|
||||
string_checkconfig(".config/09-dpi/config");
|
||||
// Check if the string is a number
|
||||
if(checkconfig_str_val == "false") {
|
||||
string_writeconfig(".config/09-dpi/config-enabled", "false");
|
||||
}
|
||||
if(checkconfig_rw(".config/09-dpi/config-enabled") == true) {
|
||||
else {
|
||||
string_writeconfig(".config/09-dpi/config-enabled", "true");
|
||||
}
|
||||
if(checkconfig(".config/09-dpi/config-enabled") == true) {
|
||||
ui_not_user_change = true;
|
||||
ui->enableUiScalingCheckBox->click();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue