mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-13 03:59:29 -07:00
ENH:optimize the check for the existence of SD cards
jira:[none] Change-Id: Iee386e97f66664cfa57aa66ea3457de30d6e987a (cherry picked from commit a209330b7aae23095fc5da451d91fb467940755f)
This commit is contained in:
parent
c7890c638d
commit
de89e64a55
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ void MediaFilePanel::SetMachineObject(MachineObject* obj)
|
|||
m_lan_passwd = obj->get_access_code();
|
||||
m_dev_ver = obj->get_ota_version();
|
||||
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_remote_proto = obj->get_file_remote();
|
||||
m_model_download_support = obj->file_model_download;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue