Fix of previous commit

This commit is contained in:
test 2020-10-06 15:12:56 +02:00
parent 286a81b6ff
commit 09755987fe

View File

@ -1703,7 +1703,7 @@ void GUI_App::MacOpenFiles(const wxArrayString &fileNames)
//FIXME Switch application to G-code viewer mode? //FIXME Switch application to G-code viewer mode?
wxMessageBox("PrusaSlicer on startup", wxString::Format("Switching to G-code viewer for %s", gcode_files.front()), wxICON_INFORMATION); wxMessageBox("PrusaSlicer on startup", wxString::Format("Switching to G-code viewer for %s", gcode_files.front()), wxICON_INFORMATION);
// Load the G-code into the G-code viewer. // Load the G-code into the G-code viewer.
this->plater()->load_gcode(paths.front()); this->plater()->load_gcode(gcode_files.front());
} }
m_mac_initialized = true; m_mac_initialized = true;
} }