ENH:The model mall dialog can be activated

Change-Id: I19aa551ffc79c4f5c9369331f28adbe7410ccab2
This commit is contained in:
tao wang 2022-11-22 12:36:32 +08:00 committed by Lane.Wei
parent 670641fe7b
commit de8db2a89c
3 changed files with 14 additions and 6 deletions

View file

@ -652,8 +652,8 @@ void AuFolderPanel::update(std::vector<fs::path> paths)
{
clear();
for (auto i = 0; i < paths.size(); i++) {
std::string temp_name = fs::path(paths[i].c_str()).filename().string();
auto name = encode_path(temp_name.c_str());
std::string temp_name = fs::path(paths[i].c_str()).filename().string();
auto name = encode_path(temp_name.c_str());
auto aufile = new AuFile(m_scrolledWindow, paths[i], name, m_type, wxID_ANY);
m_gsizer_content->Add(aufile, 0, wxALL, FromDIP(8));