From fba36c6a4133991da9faf29ffb2e2023316dd992 Mon Sep 17 00:00:00 2001 From: "chunmao.guo" Date: Thu, 16 Feb 2023 16:11:49 +0800 Subject: [PATCH] FIX: not play p1p's livelive when upgrading Change-Id: Ibc52b1ec0bc40fda8adf6d049c0dcdffebb8dbd0 --- src/slic3r/GUI/MediaPlayCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/MediaPlayCtrl.cpp b/src/slic3r/GUI/MediaPlayCtrl.cpp index f864777372..2e88131df3 100644 --- a/src/slic3r/GUI/MediaPlayCtrl.cpp +++ b/src/slic3r/GUI/MediaPlayCtrl.cpp @@ -86,7 +86,7 @@ void MediaPlayCtrl::SetMachineObject(MachineObject* obj) m_lan_ip = obj->is_function_supported(PrinterFunction::FUNC_LOCAL_TUNNEL) ? obj->dev_ip : ""; m_lan_passwd = obj->is_function_supported(PrinterFunction::FUNC_LOCAL_TUNNEL) ? obj->get_access_code() : ""; m_tutk_support = obj->is_function_supported(PrinterFunction::FUNC_REMOTE_TUNNEL); - m_device_busy = obj->is_in_prepare(); + m_device_busy = obj->is_in_prepare() || obj->is_in_upgrading(); } else { m_camera_exists = false; m_lan_mode = false;