From c108cc9045562d11d547cf2e6eee125a7780a1e4 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Tue, 4 Dec 2018 19:21:53 +0100 Subject: [PATCH] Fix of a typo. --- src/slic3r/GUI/Tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index fccf9e03d4..6d6b3b6143 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -2502,7 +2502,7 @@ bool Tab::may_discard_current_dirty_preset(PresetCollection* presets /*= nullptr message += (m_type == Slic3r::Preset::TYPE_PRINTER) ? _(L("is not compatible with printer")) : _(L("is not compatible with print profile")); - message += wxString("\n") + tab + from_utf8(new_printer_name) + "\n\n"; + message += wxString("\n") + tab + from_u8(new_printer_name) + "\n\n"; message += _(L("and it has the following unsaved changes:")); } auto confirm = new wxMessageDialog(parent(),