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;