From 09755987fe2f303465efa80be1eb2fd7c2158b34 Mon Sep 17 00:00:00 2001 From: test Date: Tue, 6 Oct 2020 15:12:56 +0200 Subject: [PATCH] Fix of previous commit --- src/slic3r/GUI/GUI_App.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index ce889a897..d0ec7f5cb 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -1703,7 +1703,7 @@ void GUI_App::MacOpenFiles(const wxArrayString &fileNames) //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); // 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; }