FIX: delete sdcard file crash

Change-Id: I814fd4b557fa92ac4060cbeb18a53f5616e49662
Jira: STUDIO-5977
This commit is contained in:
chunmao.guo 2024-01-16 14:59:56 +08:00 committed by Lane.Wei
parent 65006e92b6
commit e3653cae8d
1 changed files with 1 additions and 1 deletions

View File

@ -981,7 +981,7 @@ void PrinterFileSystem::FileRemoved(std::pair<FileType, std::string> type, size_
m_group_flags.erase(m_group_flags.begin() + index2);
}
}
m_file_list.erase(file_index.first.begin() + index);
file_index.first.erase(file_index.first.begin() + index);
}
struct CallbackEvent : wxCommandEvent