From d87e84bf4f06ab62b813720a146da538a36052d2 Mon Sep 17 00:00:00 2001 From: "lane.wei" Date: Mon, 30 Oct 2023 20:24:10 +0800 Subject: [PATCH] FIX: fix the preset name not display correctly issue on warning dialog JIRA: STUDIO-4930 Change-Id: I9a187dd89354969845f48d187fb737381d6f49e6 --- src/slic3r/GUI/Plater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 7fe142e44..fe742ad2b 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -3503,7 +3503,7 @@ std::vector Plater::priv::load_files(const std::vector& input_ warning_message += "-" + *it + "\n"; warning_message += "\n"; //show_info(q, _L("The 3mf has following customized filament or printer presets:") + warning_message + _L("Please confirm that the G-codes within these presets are safe to prevent any damage to the machine!"), _L("Customized Preset")); - MessageDialog dlg(q, _L("The 3mf has following customized filament or printer presets:") + warning_message+ _L("Please confirm that the G-codes within these presets are safe to prevent any damage to the machine!"), _L("Customized Preset")); + MessageDialog dlg(q, _L("The 3mf has following customized filament or printer presets:") + from_u8(warning_message)+ _L("Please confirm that the G-codes within these presets are safe to prevent any damage to the machine!"), _L("Customized Preset")); dlg.show_dsa_button(); auto res = dlg.ShowModal(); if (dlg.get_checkbox_state())