mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
FIX: cali related encoding problem
Change-Id: Ia79237d9e2f37fd8720411891fb724c3bd00b9fb
This commit is contained in:
parent
cefd9876fc
commit
2eb9dd01a7
2 changed files with 3 additions and 3 deletions
|
@ -1012,7 +1012,7 @@ void AMSMaterialsSetting::on_select_filament(wxCommandEvent &evt)
|
||||||
std::vector<PACalibResult> cali_history = this->obj->pa_calib_tab;
|
std::vector<PACalibResult> cali_history = this->obj->pa_calib_tab;
|
||||||
for (auto cali_item : cali_history) {
|
for (auto cali_item : cali_history) {
|
||||||
if (cali_item.filament_id == ams_filament_id) {
|
if (cali_item.filament_id == ams_filament_id) {
|
||||||
items.push_back(cali_item.name);
|
items.push_back(from_u8(cali_item.name));
|
||||||
m_pa_profile_items.push_back(cali_item);
|
m_pa_profile_items.push_back(cali_item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -261,7 +261,7 @@ void CaliPASaveAutoPanel::sync_cali_result(const std::vector<PACalibResult>& cal
|
||||||
for (auto& info : m_obj->selected_cali_preset) {
|
for (auto& info : m_obj->selected_cali_preset) {
|
||||||
if (history.filament_id == info.filament_id) {
|
if (history.filament_id == info.filament_id) {
|
||||||
filtered_results.push_back(history);
|
filtered_results.push_back(history);
|
||||||
selections.push_back(history.name);
|
selections.push_back(from_u8(history.name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -311,7 +311,7 @@ void CaliPASaveAutoPanel::sync_cali_result(const std::vector<PACalibResult>& cal
|
||||||
|
|
||||||
for (auto& name : preset_names) {
|
for (auto& name : preset_names) {
|
||||||
if (item.tray_id == name.first) {
|
if (item.tray_id == name.first) {
|
||||||
comboBox_tray_name->SetValue(name.second);
|
comboBox_tray_name->SetValue(from_u8(name.second));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue