mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 06:36:05 +08:00
ENH:optimize the check for the existence of SD cards
jira:[none] Change-Id: Iee386e97f66664cfa57aa66ea3457de30d6e987a
This commit is contained in:
parent
977f054f7f
commit
a209330b7a
@ -223,7 +223,7 @@ void MediaFilePanel::SetMachineObject(MachineObject* obj)
|
|||||||
m_lan_passwd = obj->get_access_code();
|
m_lan_passwd = obj->get_access_code();
|
||||||
m_dev_ver = obj->get_ota_version();
|
m_dev_ver = obj->get_ota_version();
|
||||||
m_device_busy = obj->is_camera_busy_off();
|
m_device_busy = obj->is_camera_busy_off();
|
||||||
m_sdcard_exist = obj->sdcard_state == MachineObject::SdcardState::HAS_SDCARD_NORMAL || obj->sdcard_state == MachineObject::SdcardState::HAS_SDCARD_READONLY;
|
m_sdcard_exist = obj->sdcard_state == MachineObject::SdcardState::HAS_SDCARD_NORMAL;
|
||||||
m_local_proto = obj->file_local;
|
m_local_proto = obj->file_local;
|
||||||
m_remote_proto = obj->get_file_remote();
|
m_remote_proto = obj->get_file_remote();
|
||||||
m_model_download_support = obj->file_model_download;
|
m_model_download_support = obj->file_model_download;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user