FIX: [STUDIO-2523] sync user preset on restart network

Change-Id: I9099b469a16e6714f65c1d806f9e7ce1dcc2fe72
This commit is contained in:
chunmao.guo 2023-04-04 19:50:44 +08:00 committed by Lane.Wei
parent f06b214c30
commit 3e18543389
1 changed files with 2 additions and 0 deletions

View File

@ -1738,6 +1738,8 @@ void GUI_App::restart_networking()
mainframe->refresh_plugin_tips();
if (plater_)
plater_->get_notification_manager()->bbl_close_plugin_install_notification();
if (app_config->get("sync_user_preset") == "true") { start_sync_user_preset(); }
}
BOOST_LOG_TRIVIAL(info) << __FUNCTION__<< boost::format(" exit, m_agent=%1%")%m_agent;
}