mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
ENH:Fix the issues discovered in the demo
jira: STUDIO-10384 STUDIO-10385 STUDIO-10387 Change-Id: I68f3099b9fbb6d6996373cae07b2e62930ce614c (cherry picked from commit 91df890100199a3e26ef3792a1f8650d2dab8577)
This commit is contained in:
@@ -402,7 +402,9 @@ void SyncAmsInfoDialog::update_map_when_change_map_mode()
|
||||
for (size_t i = 0; i < m_preview_colors_in_thumbnail.size(); i++) {
|
||||
if (i < m_ams_combo_info.ams_filament_colors.size()) {
|
||||
auto result = decode_ams_color(m_ams_combo_info.ams_filament_colors[i]);
|
||||
m_cur_colors_in_thumbnail[i] = result;
|
||||
if (i < m_cur_colors_in_thumbnail.size()) {
|
||||
m_cur_colors_in_thumbnail[i] = result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!m_cur_colors_in_thumbnail.empty()) {
|
||||
@@ -4355,6 +4357,11 @@ SyncAmsInfoDialog::~SyncAmsInfoDialog() {
|
||||
}
|
||||
}
|
||||
|
||||
void SyncAmsInfoDialog::set_info(SyncInfo &info)
|
||||
{
|
||||
m_input_info = info;
|
||||
}
|
||||
|
||||
void SyncAmsInfoDialog::update_lan_machine_list()
|
||||
{
|
||||
DeviceManager *dev = wxGetApp().getDeviceManager();
|
||||
|
||||
Reference in New Issue
Block a user