Merge branch 'master' of https://github.com/prusa3d/Slic3r into opengl_to_cpp
This commit is contained in:
commit
4805df6037
@ -553,7 +553,8 @@ sub BUILD {
|
|||||||
|
|
||||||
EVT_SLIDER($self->parent, $slider, sub {
|
EVT_SLIDER($self->parent, $slider, sub {
|
||||||
if (! $self->disable_change_event) {
|
if (! $self->disable_change_event) {
|
||||||
$self->textctrl->SetLabel($self->get_value);
|
# wxTextCtrl::SetLabel() does not work on Linux, use wxTextCtrl::SetValue() instead
|
||||||
|
$self->textctrl->SetValue($self->get_value);
|
||||||
$self->_on_change($self->option->opt_id);
|
$self->_on_change($self->option->opt_id);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user