FIX:update printer_name status after change plate

jira: none
Change-Id: I35b0b1e739a6db580dc48f54ca59a9a6cb787d7c
This commit is contained in:
zhou.xu 2025-01-13 17:12:27 +08:00 committed by lane.wei
parent a83a4130b8
commit 60eeab896b
1 changed files with 2 additions and 2 deletions

View File

@ -134,6 +134,7 @@ void SyncAmsInfoDialog::updata_ui_data_after_connected_printer() {
if (is_dirty_filament()) { return; }
show_sizer(m_plate_combox_sizer, true);
update_printer_name();//m_printer_is_map_title is in m_plate_combox_sizer
show_sizer(m_sizer_line, true);
show_sizer(m_sizer_two_image, true);
@ -1202,8 +1203,7 @@ SyncAmsInfoDialog::SyncAmsInfoDialog(wxWindow *parent, SyncInfo &info) :
bSizer->Add(more_setting_sizer, 0, wxEXPAND | wxLEFT, FromDIP(25));
wxBoxSizer *confirm_boxsizer = new wxBoxSizer(wxVERTICAL);
m_confirm_title = new wxStaticText(this, wxID_ANY,
_L("All of your configured filament presets and colors will discarded after sync."),
m_confirm_title = new wxStaticText(this, wxID_ANY, "After sync, all currently configured filament presets and colors will be discarded.",
wxDefaultPosition, wxDefaultSize);
//m_confirm_title->Wrap(FromDIP(SyncAmsInfoDialogWidth - 50));
//m_confirm_title->SetFont(Label::Head_14);