Add an option to allow user disable printer configuration (#4930)

Add an option to allow user diable printer configuration
This commit is contained in:
SoftFever 2024-04-09 18:06:54 +08:00 committed by GitHub
parent 1e20121b09
commit 2122fcfc16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View file

@ -275,6 +275,10 @@ void AppConfig::set_defaults()
set_bool("auto_calculate", true);
}
if (get("remember_printer_config").empty()) {
set_bool("remember_printer_config", true);
}
if (get("show_home_page").empty()) {
set_bool("show_home_page", true);
}