FIX: hide the notice if it's invalid

jira: [STUDIO-11073]
Change-Id: I30a9a5e5c4195caf734f4ac79aa7aff49e75924d
This commit is contained in:
xin.zhang 2025-03-22 18:11:50 +08:00 committed by lane.wei
parent bc3b5f738f
commit 2d82a1170b
1 changed files with 1 additions and 1 deletions

View File

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