FIX: [STUDIO-1800] enable_user_preset_folder before load preset
Change-Id: I1101cca75a82f73393d6565fc0a4740756011b8b (cherry picked from commit 06cf2b750aa42327ed8c57584ed90c0ff241068c)
This commit is contained in:
parent
41f5fabc2e
commit
1786ad26ca
1 changed files with 3 additions and 1 deletions
|
@ -2332,6 +2332,8 @@ bool GUI_App::on_init_inner()
|
|||
|
||||
if (app_config->get("sync_user_preset") == "true" && m_agent && m_agent->is_user_login()) {
|
||||
enable_user_preset_folder(true);
|
||||
} else {
|
||||
enable_user_preset_folder(false);
|
||||
}
|
||||
|
||||
// BBS if load user preset failed
|
||||
|
@ -4017,7 +4019,7 @@ void GUI_App::start_sync_user_preset(bool with_progress_dlg)
|
|||
{
|
||||
if (!m_agent) return;
|
||||
|
||||
enable_user_preset_folder(true);
|
||||
enable_user_preset_folder(m_agent->is_user_login());
|
||||
|
||||
// has already start sync
|
||||
if (enable_sync)
|
||||
|
|
Loading…
Reference in a new issue