From d8a331fda0bca674b710d041ed4c9350c6017aad Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Tue, 2 Jan 2018 14:03:21 -0600 Subject: [PATCH] Re-added original on_change hook back onto the optgroup that contained the extruders so that the state of has_heatbed is correctly updated. Fixes #4249 --- lib/Slic3r/GUI/PresetEditor.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Slic3r/GUI/PresetEditor.pm b/lib/Slic3r/GUI/PresetEditor.pm index 8df829342..5e5603271 100644 --- a/lib/Slic3r/GUI/PresetEditor.pm +++ b/lib/Slic3r/GUI/PresetEditor.pm @@ -1273,6 +1273,10 @@ sub build { wxTheApp->CallAfter(sub { $self->_extruders_count_changed($optgroup->get_value('extruders_count')); }); + } else { + wxTheApp->CallAfter(sub { + $self->_on_value_change($opt_id); + }); } }); }