FIX: [STUDIO-2588] load staff pick after upgrade plugin

Change-Id: I89efa67ddb409bf5e1bb3668f9b074f11e87e03e
This commit is contained in:
chunmao.guo 2023-05-17 14:41:37 +08:00 committed by Lane.Wei
parent 2b5f8082be
commit d0905486ff

View file

@ -1761,6 +1761,9 @@ void GUI_App::restart_networking()
plater_->get_notification_manager()->bbl_close_plugin_install_notification();
if (app_config->get("sync_user_preset") == "true") { start_sync_user_preset(); }
if (mainframe && this->app_config->get("staff_pick_switch") == "true") {
if (mainframe->m_webview) { mainframe->m_webview->SendDesignStaffpick(m_agent); }
}
}
BOOST_LOG_TRIVIAL(info) << __FUNCTION__<< boost::format(" exit, m_agent=%1%")%m_agent;
}