mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-29 02:40:33 -07:00
ENH:fet the correct Agora status
jira:[none] Change-Id: Ic779e41f0b652212aa8e4ce016cfe1ef2aba3608 (cherry picked from commit 1c1b366d0035298b387fbeb3a7ee69ef4afb8e2d)
This commit is contained in:
parent
b5a3e0e29c
commit
5cbb201469
1 changed files with 2 additions and 2 deletions
|
|
@ -1189,7 +1189,7 @@ void SendToPrinterDialog::update_show_status()
|
|||
std::string dev_id = obj_->dev_ip;
|
||||
if (m_file_sys) {
|
||||
if (dev_id == m_device_select) {
|
||||
if ((m_waiting_enable && IsEnabled()) || (m_waiting_support && obj_->file_remote))
|
||||
if ((m_waiting_enable && IsEnabled()) || (m_waiting_support && obj_->get_file_remote()))
|
||||
m_file_sys->Retry();
|
||||
return;
|
||||
}
|
||||
|
|
@ -1656,7 +1656,7 @@ void SendToPrinterDialog::fetchUrl(boost::weak_ptr<PrinterFileSystem> wfs)
|
|||
|
||||
std::string dev_ver = obj->get_ota_version();
|
||||
std::string dev_id = obj->dev_id;
|
||||
int remote_proto = obj->file_remote;
|
||||
int remote_proto = obj->get_file_remote();
|
||||
if (!remote_proto) {
|
||||
m_waiting_support = true;
|
||||
fs->SetUrl("0");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue