mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 15:10:36 +08:00
FIX: [github 2259] Maintain development mode when reopening BBS
Change-Id: I9cd6bddbc58f7841499665e21dc606b35c706afc
This commit is contained in:
parent
c0a247994c
commit
f87996960d
@ -177,10 +177,10 @@ DPIFrame(NULL, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, BORDERLESS_FRAME_
|
||||
set_miniaturizable(GetHandle());
|
||||
#endif
|
||||
|
||||
//reset developer_mode to false and user_mode to comAdvanced
|
||||
if (!wxGetApp().app_config->has("user_mode")) {
|
||||
wxGetApp().app_config->set("user_mode", "simple");
|
||||
wxGetApp().app_config->set_bool("developer_mode", false);
|
||||
if (wxGetApp().app_config->get("user_mode") == "develop") {
|
||||
wxGetApp().app_config->set("user_mode", "advanced");
|
||||
wxGetApp().app_config->save();
|
||||
}
|
||||
|
||||
wxGetApp().app_config->set_bool("internal_developer_mode", false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user