mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
FIX: "Not supported on the current printer version"
Change-Id: Ib01fde05352d8f0dd91690cc941d14d983f12f9a
This commit is contained in:
parent
152df78310
commit
c14599a140
2 changed files with 6 additions and 1 deletions
|
@ -413,6 +413,11 @@ void MediaFilePanel::fetchUrl(boost::weak_ptr<PrinterFileSystem> wfs)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_waiting_enable = false;
|
m_waiting_enable = false;
|
||||||
|
if (!m_local_support && !m_remote_support) {
|
||||||
|
m_image_grid->SetStatus(m_bmp_failed, _L("Initialize failed (Not supported on the current printer version)!"));
|
||||||
|
fs->SetUrl("0");
|
||||||
|
return;
|
||||||
|
}
|
||||||
if ((m_lan_mode || !m_remote_support) && m_local_support && !m_lan_ip.empty()) {
|
if ((m_lan_mode || !m_remote_support) && m_local_support && !m_lan_ip.empty()) {
|
||||||
std::string url = "bambu:///local/" + m_lan_ip + ".?port=6000&user=" + m_lan_user + "&passwd=" + m_lan_passwd;
|
std::string url = "bambu:///local/" + m_lan_ip + ".?port=6000&user=" + m_lan_user + "&passwd=" + m_lan_passwd;
|
||||||
fs->SetUrl(url);
|
fs->SetUrl(url);
|
||||||
|
|
|
@ -194,7 +194,7 @@ void MediaPlayCtrl::Play()
|
||||||
if (!m_remote_support) { // not support tutk
|
if (!m_remote_support) { // not support tutk
|
||||||
Stop(m_lan_ip.empty()
|
Stop(m_lan_ip.empty()
|
||||||
? _L("Initialize failed (Missing LAN ip of printer)!")
|
? _L("Initialize failed (Missing LAN ip of printer)!")
|
||||||
: _L("Initialize failed (Not supported by printer)!"));
|
: _L("Initialize failed (Not supported on the current printer version)!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue