mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX:fixed error msg cannot be displayed in the bind dialog
Change-Id: Id64a755c91eed08dc5c9beeea17959b16ea4f4f0
This commit is contained in:
parent
8ebe2fb4d3
commit
69f69b8eb3
3 changed files with 13 additions and 13 deletions
|
@ -5724,8 +5724,8 @@ void GUI_App::preset_deleted_from_cloud(std::string setting_id)
|
|||
|
||||
wxString GUI_App::filter_string(wxString str)
|
||||
{
|
||||
std::string result = str.ToStdString();
|
||||
std::string input = str.ToStdString();
|
||||
std::string result = str.utf8_string();
|
||||
std::string input = str.utf8_string();
|
||||
|
||||
|
||||
std::regex domainRegex(R"(([a-zA-Z0-9.-]+\.[a-zA-Z]{2,}(?:\.[a-zA-Z]{2,})?))");
|
||||
|
@ -5739,7 +5739,7 @@ wxString GUI_App::filter_string(wxString str)
|
|||
++it;
|
||||
}
|
||||
|
||||
return result;
|
||||
return wxString::FromUTF8(result);
|
||||
}
|
||||
|
||||
bool GUI_App::OnExceptionInMainLoop()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue