FIX: install cert for device

jira: [STUDIO-9888]
Change-Id: If0bec524e1cb052fb27660a9b0cbcfce0f17c226
This commit is contained in:
xin.zhang 2025-03-18 11:55:34 +08:00 committed by lane.wei
parent 427f27ce9b
commit 39d49701ae
1 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,7 @@
namespace Slic3r { namespace GUI { namespace Slic3r { namespace GUI {
#define REFRESH_INTERVAL 1000 #define REFRESH_INTERVAL 1000
#define INITIAL_NUMBER_OF_MACHINES 0 #define INITIAL_NUMBER_OF_MACHINES 0
#define LIST_REFRESH_INTERVAL 200 #define LIST_REFRESH_INTERVAL 200
#define MACHINE_LIST_REFRESH_INTERVAL 2000 #define MACHINE_LIST_REFRESH_INTERVAL 2000
@ -573,6 +573,10 @@ void CalibrationPanel::update_all() {
} }
} }
if (obj) {
m_agent->install_device_cert(obj->dev_id, obj->is_lan_mode_printer());
}
if (obj) { if (obj) {
wxGetApp().reset_to_active(); wxGetApp().reset_to_active();
if (obj->connection_type() != last_conn_type) { if (obj->connection_type() != last_conn_type) {