mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 15:59:01 +08:00
The text fields were not causing config value updates, broken with 8d1b854acbbb1686d92cd38a696dab2a97dec00d Replaced all wxString.ToStdString() with wxString.ToUTF8().data() to be sure that the strings are correctly converted to UTF8.
This commit is contained in:
parent
567b367061
commit
3bd2db8ba6
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user