FIX: [STUDIO-3571] not skip auxiliary for send gcode

Change-Id: I2dd1e36c571261c93ac899db5bbd3ad38fc40bc9
This commit is contained in:
chunmao.guo 2023-07-05 15:09:15 +08:00 committed by Lane.Wei
parent d48101887e
commit a4b3a5c000
3 changed files with 4 additions and 2 deletions

View file

@ -866,6 +866,7 @@ void PrinterFileSystem::UpdateFocusThumbnail2(std::shared_ptr<std::vector<File>>
size = iter->local_path.size();
}
wxMemoryInputStream mis(data, size);
mimetype.Replace("jpg", "jpeg");
file.thumbnail = wxImage(mis, mimetype);
}
file.name = thumbnail;