mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH: open new process on MacOS
Change-Id: I0bc4069f9ff14ac86d9edf800134f04a26a650f2
This commit is contained in:
parent
77e4599c4a
commit
0471c7d427
5 changed files with 33 additions and 26 deletions
|
@ -4483,6 +4483,12 @@ void GUI_App::OSXStoreOpenFiles(const wxArrayString &fileNames)
|
|||
// wxWidgets override to get an event on open files.
|
||||
void GUI_App::MacOpenFiles(const wxArrayString &fileNames)
|
||||
{
|
||||
if (m_post_initialized) {
|
||||
std::vector<wxString> names;
|
||||
for (auto & n : fileNames) names.push_back(n);
|
||||
start_new_slicer(names);
|
||||
return;
|
||||
}
|
||||
std::vector<std::string> files;
|
||||
std::vector<wxString> gcode_files;
|
||||
std::vector<wxString> non_gcode_files;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue