Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2020-09-23 10:35:30 +0300
committerYuSanka <yusanka@gmail.com>2020-09-23 10:35:30 +0300
commit52e605069844c02113c93d30f2306c4fb6e2970c (patch)
treea989ecce6acde22b6647e1303fd004445e17f3d1 /src
parentfc3aa61dc484b60e2e011d182f96de0285ec1b9b (diff)
Fixed msw_scale() for Infill field
Diffstat (limited to 'src')
-rw-r--r--src/slic3r/GUI/Field.cpp3
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 :