Bring PrusaSlicer to top when drag and dropping a project file on its executable
This commit is contained in:
parent
59628d0221
commit
184e4f77cd
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue