FIX: only check if it is auto

jira: [STUDIO-10945]
Change-Id: Ib2f271b1b6581659b48effad4c235e755ad1b5e5
This commit is contained in:
xin.zhang 2025-03-20 17:02:44 +08:00 committed by lane.wei
parent 506e82cb02
commit f74efcf3e6
1 changed files with 1 additions and 1 deletions

View File

@ -3655,7 +3655,7 @@ void SelectMachineDialog::update_show_status()
}
/*STUDIO-10970 check the k value and flow cali option*/
if (m_checkbox_list["flow_cali"]->getValue() != "off") {
if (m_checkbox_list["flow_cali"]->getValue() == "auto") {
const auto &not_default_ams_names = _check_kval_not_default(obj_, m_ams_mapping_result);
if (!not_default_ams_names.empty()) {
std::vector<wxString> params{not_default_ams_names};