From 085ad18a81ee928a30fba433ec16c3d489b435d5 Mon Sep 17 00:00:00 2001 From: "liz.li" Date: Thu, 21 Mar 2024 18:04:10 +0800 Subject: [PATCH] FIX: custom layer sequence from End to End comboBox display issue jira: new Change-Id: I413cd5896d7e921f2c7c03b91b08788fefb9a4f3 --- src/slic3r/GUI/PlateSettingsDialog.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/PlateSettingsDialog.cpp b/src/slic3r/GUI/PlateSettingsDialog.cpp index c5830e14f..40bbf277f 100644 --- a/src/slic3r/GUI/PlateSettingsDialog.cpp +++ b/src/slic3r/GUI/PlateSettingsDialog.cpp @@ -150,7 +150,13 @@ void LayerNumberTextInput::set_layer_number(int layer_number) m_value_type = ValueType::End; else m_value_type = ValueType::Custom; - update_label(); + + if (m_value_type == ValueType::End) + SetSelection(0); + if (m_value_type == ValueType::Custom) { + SetSelection(1); + update_label(); + } } int LayerNumberTextInput::get_layer_number()