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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2018-07-16 17:08:28 +0300
committertamasmeszaros <meszaros.q@gmail.com>2018-07-16 17:08:28 +0300
commit67d69830e820d9707355ab8b3ae8322f909d09e6 (patch)
tree0738245707896656b0dc80fd9a13ba867547d08f /lib/Slic3r/GUI
parent6bcd735655f3d42e529a9e3340e78d90aa85faea (diff)
parentd99b484ac6e67f00666530a1d7b78e7506e2ce6c (diff)
Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d
Diffstat (limited to 'lib/Slic3r/GUI')
-rw-r--r--lib/Slic3r/GUI/OptionsGroup/Field.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Slic3r/GUI/OptionsGroup/Field.pm b/lib/Slic3r/GUI/OptionsGroup/Field.pm
index 4ef2ce2ca..1a53daeb5 100644
--- a/lib/Slic3r/GUI/OptionsGroup/Field.pm
+++ b/lib/Slic3r/GUI/OptionsGroup/Field.pm
@@ -552,8 +552,9 @@ sub BUILD {
$sizer->Add($textctrl, 0, wxALIGN_CENTER_VERTICAL, 0);
EVT_SLIDER($self->parent, $slider, sub {
- if (! $self->disable_change_event) {
- $self->textctrl->SetLabel($self->get_value);
+ if (! $self->disable_change_event) {
+ # wxTextCtrl::SetLabel() does not work on Linux, use wxTextCtrl::SetValue() instead
+ $self->textctrl->SetValue($self->get_value);
$self->_on_change($self->option->opt_id);
}
});