Skip to content

Commit

Permalink
Fix of the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bubnikv committed May 20, 2019
1 parent 1ecb98e commit 08388d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slic3r/GUI/Field.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 08388d3

Please sign in to comment.