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:
bubnikv 2019-01-07 09:37:51 +01:00
parent 567b367061
commit 3bd2db8ba6

View File

@ -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; } break; }
default: default:
break; break;