Fix a regression where the login panel is displayed even when the plugin is disabled (#12185)

Update GUI_App to show or hide the login panel based on the "installed_networking" setting.
This commit is contained in:
SoftFever
2026-02-06 09:18:52 +08:00
committed by GitHub
parent 98cb91110e
commit 5d121b12ee
3 changed files with 23 additions and 15 deletions

View File

@@ -499,6 +499,10 @@ void AppConfig::set_defaults()
set_bool("is_split_compound", false);
}
if(get("installed_networking").empty()) {
set_bool("installed_networking", false);
}
// Remove legacy window positions/sizes
erase("app", "main_frame_maximized");
erase("app", "main_frame_pos");