diff --git a/src/slic3r/GUI/Field.cpp b/src/slic3r/GUI/Field.cpp index e5ba38432..e64f0f12c 100644 --- a/src/slic3r/GUI/Field.cpp +++ b/src/slic3r/GUI/Field.cpp @@ -1085,7 +1085,7 @@ void Choice::set_values(const wxArrayString &values) // # it looks that Clear() also clears the text field in recent wxWidgets versions, // # but we want to preserve it - auto ww = dynamic_cast(window); + auto ww = dynamic_cast(window); auto value = ww->GetValue(); ww->Clear(); ww->Append("");