1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-18 09:14:27 +00:00

Fix of the previous commit

This commit is contained in:
bubnikv
2019-05-20 12:22:08 +02:00
parent 1ecb98e35f
commit 08388d3daa
+1 -1
View File
@@ -900,7 +900,7 @@ void Choice::msw_rescale()
size_t counter = 0;
bool labels = ! m_opt.enum_labels.empty();
for (const std::string &el : labels ? m_opt.enum_labels : m_opt.enum_values) {
wxString text = labels ? _(el) : wxString::ToUTF8(el.c_str());
wxString text = labels ? _(el) : wxString::FromUTF8(el.c_str());
field->Append(text);
if (text == selection)
idx = counter;