From 2b3328c2b2317dfa1978b3f46a07a0ca826133f4 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Wed, 25 Mar 2026 11:34:45 +0800 Subject: [PATCH] Fix char + wstring concat in Search.cpp tooltip builder --- src/slic3r/GUI/Search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Search.cpp b/src/slic3r/GUI/Search.cpp index 1af33eb05f..cc3811d36e 100644 --- a/src/slic3r/GUI/Search.cpp +++ b/src/slic3r/GUI/Search.cpp @@ -213,7 +213,7 @@ bool OptionsSearcher::search(const std::string &search, bool force /* = false*/, }; auto get_tooltip = [this, &sep](const Option &opt) { - return marker_by_type(opt.type, printer_technology) + opt.category_local + sep + opt.group_local + sep + opt.label_local; + return wxString(marker_by_type(opt.type, printer_technology)) + opt.category_local + sep + opt.group_local + sep + opt.label_local; }; std::vector matches, matches2;