mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-03 05:20:29 -07:00
FIX: something
1. split translate filament_extruder_variant 2. printer sync icon dark mode 3. translate Extruder 1/2 to Left/Right Extruder 4. parse error code from get_camera_url 5. smaller printer bed image Jira: STUDIO-8542, STUDIO-9056, STUDIO-7681, STUDIO-9487 Change-Id: I8a10fbe4e6d17e7a3e35e8846e3d964084d07f50 (cherry picked from commit 626256beb6fb8a90a99578b5208cb588ead5dd80) (cherry picked from commit 9c81c2cf5e0e50a65c99903445734e0f16529198)
This commit is contained in:
parent
7f1d86c2bc
commit
583edf1e32
4 changed files with 24 additions and 7 deletions
|
|
@ -504,7 +504,13 @@ void MediaFilePanel::fetchUrl(boost::weak_ptr<PrinterFileSystem> wfs)
|
|||
fs->SetUrl(url);
|
||||
} else {
|
||||
m_image_grid->SetStatus(m_bmp_failed, _L("Connection Failed. Please check the network and try again"));
|
||||
fs->SetUrl("3");
|
||||
std::string res = "3";
|
||||
if (boost::ends_with(url, "]")) {
|
||||
size_t n = url.find_last_of('[');
|
||||
if (n != std::string::npos)
|
||||
res = url.substr(n + 1, url.length() - n - 2);
|
||||
}
|
||||
fs->SetUrl(res);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue