mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-12 05:01:50 +08:00
Bring PrusaSlicer to top when drag and dropping a project file on its executable
This commit is contained in:
parent
59628d0221
commit
184e4f77cd
@ -2137,6 +2137,7 @@ Plater::priv::priv(Plater *q, MainFrame *main_frame)
|
|||||||
for (size_t i = 0; i < evt.data.size(); ++i) {
|
for (size_t i = 0; i < evt.data.size(); ++i) {
|
||||||
input_files.push_back(from_u8(evt.data[i].string()));
|
input_files.push_back(from_u8(evt.data[i].string()));
|
||||||
}
|
}
|
||||||
|
wxGetApp().mainframe->Raise();
|
||||||
this->q->load_files(input_files);
|
this->q->load_files(input_files);
|
||||||
});
|
});
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user