mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-20 08:23:15 +08:00
FIX: PA profile is not match correct in mac environment
jira: none Change-Id: I39ebbb3de3f174a3072ab0511d2f6c9265264337
This commit is contained in:
parent
6360fb80be
commit
c466a40c04
@ -1162,7 +1162,11 @@ void AMSMaterialsSetting::on_select_filament(wxCommandEvent &evt)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
#ifdef __APPLE__
|
||||||
|
cali_select_idx = get_cali_index(m_comboBox_filament->GetValue().ToStdString());
|
||||||
|
#else
|
||||||
cali_select_idx = get_cali_index(m_comboBox_filament->GetLabel().ToStdString());
|
cali_select_idx = get_cali_index(m_comboBox_filament->GetLabel().ToStdString());
|
||||||
|
#endif
|
||||||
m_comboBox_cali_result->SetSelection(cali_select_idx);
|
m_comboBox_cali_result->SetSelection(cali_select_idx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1180,7 +1184,11 @@ void AMSMaterialsSetting::on_select_filament(wxCommandEvent &evt)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
#ifdef __APPLE__
|
||||||
|
cali_select_idx = get_cali_index(m_comboBox_filament->GetValue().ToStdString());
|
||||||
|
#else
|
||||||
cali_select_idx = get_cali_index(m_comboBox_filament->GetLabel().ToStdString());
|
cali_select_idx = get_cali_index(m_comboBox_filament->GetLabel().ToStdString());
|
||||||
|
#endif
|
||||||
m_comboBox_cali_result->SetSelection(cali_select_idx);
|
m_comboBox_cali_result->SetSelection(cali_select_idx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user