diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2022-06-13 16:44:43 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2022-06-13 16:44:43 +0300 |
commit | 91a5ceb1dd61d39e9228e5e4702a8fe75bbd9f40 (patch) | |
tree | e6921b821800f9823013a28b47d34e8f6e0a5f0d | |
parent | dba1179708a88c425be5374666e6d68ec64ed7c1 (diff) |
OSX specific: Fixing opening of G-codes by drag & dropping of G-code
on slicer icon in case slicer is not yet running.
-rw-r--r-- | src/slic3r/GUI/GUI_App.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index b688e11f5..9a4921a84 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -738,7 +738,7 @@ void GUI_App::post_init() if (! this->initialized())
throw Slic3r::RuntimeError("Calling post_init() while not yet initialized");
- if (this->init_params->start_as_gcodeviewer) {
+ if (this->is_gcode_viewer()) {
if (! this->init_params->input_files.empty())
this->plater()->load_gcode(wxString::FromUTF8(this->init_params->input_files[0].c_str()));
}
|