FIX: cannot immediately update the left list

Right click modification cannot immediately update plate_name the left list

Change-Id: Ieb2a38d687f79195a9748e093c0d96a36236d1b5
(cherry picked from commit 2331c2e4fe4de3350a3c3765b7e00f30025addff)
This commit is contained in:
zhou.xu 2023-06-25 10:18:31 +08:00 committed by Lane.Wei
parent fadb421e63
commit 1aa51e9a99
7 changed files with 13 additions and 3 deletions

View file

@ -1635,7 +1635,7 @@ void PartPlate::set_plate_name(const std::string &name)
if (m_plater) {
ObjectList *obj_list = wxGetApp().obj_list();
if (obj_list) {
obj_list->GetModel()->SetCurSelectedPlateFullNmae(m_plate_index, m_name);
obj_list->GetModel()->SetCurSelectedPlateFullName(m_plate_index, m_name);
}
}