mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 22:24:01 -06:00
FIX: [STUDIO-2967] dowload model file not work
Change-Id: Ie4cc2d43f7078b505261f51bac4a34079e2d4836
This commit is contained in:
parent
81cb240dcc
commit
3b5ae871af
3 changed files with 5 additions and 2 deletions
|
@ -456,7 +456,7 @@ struct MediaProgressDialog : ProgressDialog
|
|||
std::function<void()> m_cancel;
|
||||
};
|
||||
|
||||
void Slic3r::GUI::MediaFilePanel::doAction(size_t index, int action)
|
||||
void MediaFilePanel::doAction(size_t index, int action)
|
||||
{
|
||||
auto fs = m_image_grid->GetFileSystem();
|
||||
if (action == 0) {
|
||||
|
@ -502,8 +502,8 @@ void Slic3r::GUI::MediaFilePanel::doAction(size_t index, int action)
|
|||
Slic3r::GUI::wxGetApp().plater()->update_print_required_data(config, model, plate_data_list, from_u8(file.name).ToStdString());
|
||||
wxPostEvent(Slic3r::GUI::wxGetApp().plater(), SimpleEvent(EVT_PRINT_FROM_SDCARD_VIEW));
|
||||
});
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (index != -1) {
|
||||
auto &file = fs->GetFile(index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue