mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX:fixed jpeg pictures cannot be set as cover thumbnail
Change-Id: I35b5f4fd2ebd31cbd0812ef3111cc18152f24582
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user