diff options
author | YuSanka <yusanka@gmail.com> | 2020-09-23 10:35:30 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2020-09-23 10:35:30 +0300 |
commit | 52e605069844c02113c93d30f2306c4fb6e2970c (patch) | |
tree | a989ecce6acde22b6647e1303fd004445e17f3d1 /src | |
parent | fc3aa61dc484b60e2e011d182f96de0285ec1b9b (diff) |
Fixed msw_scale() for Infill field
Diffstat (limited to 'src')
-rw-r--r-- | src/slic3r/GUI/Field.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/slic3r/GUI/Field.cpp b/src/slic3r/GUI/Field.cpp index e075c7709..09e29caf9 100644 --- a/src/slic3r/GUI/Field.cpp +++ b/src/slic3r/GUI/Field.cpp @@ -1118,8 +1118,7 @@ void Choice::msw_rescale(bool rescale_sidetext/* = false*/) Field::msw_rescale(); wxBitmapComboBox* field = dynamic_cast<wxBitmapComboBox*>(window); - - const wxString selection = field->GetString(field->GetSelection()); + const wxString selection = field->GetValue();// field->GetString(index); /* To correct scaling (set new controll size) of a wxBitmapCombobox * we need to refill control with new bitmaps. So, in our case : |