FIX: [STUDIO-2844] use user presets only if login

Change-Id: Iec2dc9a77be8354ff1d5e0e4a60f79006ee682d3
This commit is contained in:
chunmao.guo 2023-05-23 10:19:49 +08:00 committed by Lane.Wei
parent ddabc14676
commit 1b0b14c0f2
4 changed files with 27 additions and 32 deletions

View file

@ -3291,7 +3291,7 @@ void MainFrame::on_select_default_preset(SimpleEvent& evt)
{
case wxID_YES: {
wxGetApp().app_config->set_bool("sync_user_preset", true);
wxGetApp().start_sync_user_preset(true, true);
wxGetApp().start_sync_user_preset(true);
break;
}
case wxID_NO: