FIX:fixed error msg cannot be displayed in the bind dialog

Change-Id: Id64a755c91eed08dc5c9beeea17959b16ea4f4f0
This commit is contained in:
tao wang authored and Lane.Wei committed 2023-07-13 10:35:05 +08:00
1 parent 8ebe2fb4d3
commit 69f69b8eb3
3 files changed
+13 -13

No files matched your search

+3 -3
View File
@@ -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()