diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index ceacaf8bb..352a24d08 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -683,7 +683,7 @@ void MainFrame::quick_slice(const int qs) } else if (qs & qsSaveAs) { // The following line may die if the output_filename_format template substitution fails. - auto dlg = new wxFileDialog(this, wxString::Format(_(L("Save %s file as:") , (qs & qsExportSVG ? _(L("SVG")) : _(L("G-code")) ))), + auto dlg = new wxFileDialog(this, wxString::Format(_(L("Save %s file as:")) , qs & qsExportSVG ? _(L("SVG")) : _(L("G-code")) ), wxGetApp().app_config->get_last_output_dir(get_dir_name(output_file)), get_base_name(input_file), qs & qsExportSVG ? file_wildcards(FT_SVG) : file_wildcards(FT_GCODE), wxFD_SAVE | wxFD_OVERWRITE_PROMPT); diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 27bb5ee64..2a9e743f6 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -2346,11 +2346,12 @@ void TabPrinter::update_pages() { m_preset_bundle->update_multi_material_filament_presets(); on_value_change("extruders_count", m_extruders_count); - wxGetApp().sidebar().update_objects_list_extruder_column(m_extruders_count); } } else m_pages.swap(m_pages_fff); + + wxGetApp().sidebar().update_objects_list_extruder_column(m_extruders_count); } else m_pages_sla.empty() ? build_sla() : m_pages.swap(m_pages_sla);