FIX: correct the tool tip

jira: [STUDIO-13302]
Change-Id: I745e6d05f78fa4f025237f70c7af424cc9c204a0
(cherry picked from commit e2fa14270c8767e53e2c023ccfec203504f38822)
This commit is contained in:
xin.zhang 2025-07-09 17:26:48 +08:00 committed by Noisyfox
parent cd5566aee5
commit 3a49e2f516

View file

@ -1570,7 +1570,7 @@ void MappingItem::set_data(const wxString &tag_name, wxColour colour, wxString n
if (!m_name.IsEmpty() && (m_name != "-")) {
const wxString &msg = wxString::Format(_L("Note: the filament type(%s) does not match with the filament type(%s) in the slicing file. "
"If you want to use this slot, you can install %s instead of %s and change slot information on the 'Device' page."),
m_name, tag_name, m_name, tag_name);
m_name, tag_name, tag_name, m_name);
SetToolTip(msg);
} else {
const wxString &msg = wxString::Format(_L("Note: the slot is empty or undefined. If you want to use this slot, you can install %s and change slot information on the 'Device' page."), tag_name);