FIX: the dialog display fault

jira: [STUDIO-9730]
Change-Id: I6ecd12c4ac4710ea63868963a806b219298c86d0
(cherry picked from commit fbb9ebcf7d7964cf476bb4d1fb40531d4df2db77)
This commit is contained in:
xin.zhang 2025-01-12 17:33:02 +08:00 committed by Noisyfox
parent 9c6b57f3c7
commit 0d528d2f17

View file

@ -1734,6 +1734,8 @@ void AmsReplaceMaterialDialog::update_to_nozzle(int nozzle_id)
label_txt->SetLabelText(_L("If there are two identical filaments in AMS, AMS filament backup will be enabled. \n(Currently supporting automatic supply of consumables with the same brand, material type, and color)"));
}
label_txt->Wrap(FromDIP(label_txt->GetMinWidth()));
label_txt->Layout();
identical_filament->Hide();
}