mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: update the text and icon while mapping
jira: [STUDIO-11679] Change-Id: Ia744c27e3236ffa7c2157867b026e91c210dd5bf (cherry picked from commit e685e57839a2933f139cfb3fe98a30a5bc8c34af)
This commit is contained in:
@@ -3875,8 +3875,15 @@ void SelectMachineDialog::change_materialitem_tip(bool no_ams_only_ext)
|
||||
item->item->SetToolTip(wxEmptyString);
|
||||
}
|
||||
else {
|
||||
if (item->item->GetToolTipText() != m_ams_tooltip) {
|
||||
item->item->SetToolTip(m_ams_tooltip);
|
||||
wxString tip_text;
|
||||
if (item->item->m_match) {
|
||||
tip_text = _L("Upper half area: Original\nLower half area: Filament in AMS\nAnd you can click it to modify");
|
||||
} else {
|
||||
tip_text = _L("Unable to automatically match to suitable filament. Please click to manually match.");
|
||||
}
|
||||
|
||||
if (item->item->GetToolTipText() != tip_text) {
|
||||
item->item->SetToolTip(tip_text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user