fix: Show Labels and Show Overhang toggles not being saved (#12218)

* fix: Show Labels and Show Overhang toggles not being saved

* refactor: use get_bool and add comments
This commit is contained in:
Sabriel-Koh
2026-02-09 22:27:03 +08:00
committed by GitHub
parent e14e186bb7
commit cae1567726
3 changed files with 22 additions and 2 deletions

View File

@@ -252,6 +252,12 @@ void AppConfig::set_defaults()
if (get("show_axes").empty())
set_bool("show_axes", true);
if (get("show_labels").empty())
set_bool("show_labels", false);
if (get("show_overhang").empty())
set_bool("show_overhang", false);
#ifdef _WIN32
//#ifdef SUPPORT_3D_CONNEXION