mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
FIX:fixed jpeg pictures cannot be set as cover thumbnail
Change-Id: I35b5f4fd2ebd31cbd0812ef3111cc18152f24582
This commit is contained in:
parent
3f109501ba
commit
4fb94330f4
2 changed files with 5 additions and 1 deletions
|
@ -492,6 +492,7 @@ void AuFile::on_set_cover()
|
|||
thumbnail_img.SaveFile(encode_path(middle_img_path.c_str()));
|
||||
}
|
||||
|
||||
wxGetApp().plater()->set_plater_dirty(true);
|
||||
auto evt = wxCommandEvent(EVT_AUXILIARY_UPDATE_COVER);
|
||||
evt.SetString(s_default_folders[m_type]);
|
||||
evt.SetEventObject(m_parent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue