From 311bce91e59e9cac9884675cd44475a2866d0a10 Mon Sep 17 00:00:00 2001 From: supermerill Date: Mon, 29 Jun 2020 00:58:42 +0200 Subject: [PATCH] fix bad text for switching to rectilinear if 100% --- src/slic3r/GUI/ConfigManipulation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/ConfigManipulation.cpp b/src/slic3r/GUI/ConfigManipulation.cpp index 0cd85481b..e34edc7b6 100644 --- a/src/slic3r/GUI/ConfigManipulation.cpp +++ b/src/slic3r/GUI/ConfigManipulation.cpp @@ -271,13 +271,13 @@ void ConfigManipulation::update_print_fff_config(DynamicPrintConfig* config, con if (!correct_100p_fill) { wxString msg_text = GUI::from_u8((boost::format(_utf8(L("The %1% infill pattern is not supposed to work at 100%% density."))) % str_fill_pattern).str()); if (is_global_config) - msg_text += "\n\n" + _(L("Shall I switch to "+ str_fill_pattern +" fill pattern?")); + msg_text += "\n\n" + _(L("Shall I switch to rectilinear fill pattern?")); wxMessageDialog dialog(nullptr, msg_text, _(L("Infill")), wxICON_WARNING | (is_global_config ? wxYES | wxNO : wxOK) ); DynamicPrintConfig new_conf = *config; auto answer = dialog.ShowModal(); if (!is_global_config || answer == wxID_YES) { - new_conf.set_key_value("fill_pattern", new ConfigOptionEnum(ipRectilinear)); + new_conf.set_key_value("fill_pattern", new ConfigOptionEnum(ipRectilinearWGapFill)); fill_density = 100; } else