From ba4cc19e6c45482e10889dcdff648be138febbb2 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Mon, 30 Jun 2025 20:12:07 +0800 Subject: [PATCH] FIX: the info cannot displayed in Chinese language jira: STUDIO-12985 Change-Id: Ic2d52bc94129c2c568ebc4b3dc2b0a3fe5a65907 (cherry picked from commit 209c29400ca203e4ccd26863d2b78d5802275131) --- src/slic3r/GUI/DeviceManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/DeviceManager.cpp b/src/slic3r/GUI/DeviceManager.cpp index d78f6fa919..cb8b3aa07c 100644 --- a/src/slic3r/GUI/DeviceManager.cpp +++ b/src/slic3r/GUI/DeviceManager.cpp @@ -316,7 +316,7 @@ bool check_filaments_printable(const std::string &tag_vendor, const std::string if (filament_info.has_value() && !(filament_info->filament_printable >> extruder_idx & 1)) { wxString extruder_name = extruder_idx == 0 ? _L("left") : _L("right"); ac = "prohibition"; - info = (wxString::Format(_L("%s is not supported by %s extruder."), tag_type, extruder_name)).ToUTF8().data(); + info = wxString::Format(_L("%s is not supported by %s extruder."), tag_type, extruder_name); in_blacklist = true; return false; }