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

@ -1251,7 +1251,7 @@ wxDataViewItem ObjectDataViewModel::GetItemByPlateId(int plate_idx)
return wxDataViewItem(nullptr);
}
void ObjectDataViewModel::SetCurSelectedPlateFullNmae(int plate_idx, const std::string & custom_name) {
void ObjectDataViewModel::SetCurSelectedPlateFullName(int plate_idx, const std::string & custom_name) {
for (auto plate : m_plates) {
if (plate->m_plate_idx == plate_idx) {
wxString plate_full_name =_L("Plate");