mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-18 21:20:57 +00:00
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:
1 parent
98cb91110e
commit
5d121b12ee
3 files changed
+23
-15
No files matched your search
@@ -4439,7 +4439,11 @@ void GUI_App::get_login_info()
|
||||
GUI::wxGetApp().run_script(strJS);
|
||||
}
|
||||
}
|
||||
mainframe->m_webview->SetLoginPanelVisibility(true);
|
||||
if(app_config->get_bool("installed_networking")) {
|
||||
mainframe->m_webview->SetLoginPanelVisibility(true);
|
||||
} else {
|
||||
mainframe->m_webview->SetLoginPanelVisibility(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user