FIX: update the text ctrl directly

jira: [STUDIO-10611]
Change-Id: I062b331f793e67b652b7a63b393b590ffe294cc5
This commit is contained in:
xin.zhang 2025-02-27 17:37:00 +08:00 committed by lane.wei
parent 379e631436
commit 0a73a7aaef
1 changed files with 1 additions and 1 deletions

View File

@ -4261,7 +4261,7 @@ void SelectMachineDialog::set_default_from_sdcard()
MachineObject *obj_ = dev_manager->get_selected_machine();
if (!obj_) { return; };
m_comboBox_printer->SetValue(obj_->dev_name);
m_comboBox_printer->GetTextCtrl()->SetValue(obj_->dev_name);
m_print_plate_total = m_required_data_plate_data_list.size();
update_page_turn_state(true);