The text fields were not causing config value updates,
broken with 8d1b854acb
Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
This commit is contained in:
@@ -188,7 +188,7 @@ void Field::get_value_by_opt_type(wxString& str)
|
||||
}
|
||||
}
|
||||
|
||||
m_value = str.ToUTF8().data();
|
||||
m_value = std::string(str.ToUTF8().data());
|
||||
break; }
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user