Bring PrusaSlicer to top when drag and dropping a project file on its executable

This commit is contained in:
enricoturri1966 2020-11-27 09:35:32 +01:00
parent 59628d0221
commit 184e4f77cd

View file

@ -2137,6 +2137,7 @@ Plater::priv::priv(Plater *q, MainFrame *main_frame)
for (size_t i = 0; i < evt.data.size(); ++i) {
input_files.push_back(from_u8(evt.data[i].string()));
}
wxGetApp().mainframe->Raise();
this->q->load_files(input_files);
});
#else