From 47c82dcd2d403200d248ef11b96631e797323633 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Fri, 18 Oct 2024 14:36:04 +0800 Subject: [PATCH] FIX: k value is not display when set pa profile jira: none Change-Id: Ic36d7a3fcb4c0e845d8c3902b31638f5cfb60d1f --- src/slic3r/GUI/AMSMaterialsSetting.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/AMSMaterialsSetting.cpp b/src/slic3r/GUI/AMSMaterialsSetting.cpp index 82eeb44d6..59af9eae4 100644 --- a/src/slic3r/GUI/AMSMaterialsSetting.cpp +++ b/src/slic3r/GUI/AMSMaterialsSetting.cpp @@ -1162,8 +1162,8 @@ void AMSMaterialsSetting::on_select_filament(wxCommandEvent &evt) } } else { - int index = get_cali_index(m_comboBox_filament->GetLabel().ToStdString()); - m_comboBox_cali_result->SetSelection(index); + cali_select_idx = get_cali_index(m_comboBox_filament->GetLabel().ToStdString()); + m_comboBox_cali_result->SetSelection(cali_select_idx); } } else { @@ -1180,8 +1180,8 @@ void AMSMaterialsSetting::on_select_filament(wxCommandEvent &evt) } } else { - int index = get_cali_index(m_comboBox_filament->GetLabel().ToStdString()); - m_comboBox_cali_result->SetSelection(index); + cali_select_idx = get_cali_index(m_comboBox_filament->GetLabel().ToStdString()); + m_comboBox_cali_result->SetSelection(cali_select_idx); } }