chiark / gitweb /
Better fix for T35
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Wed, 28 Oct 2015 18:33:07 +0000 (14:33 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Wed, 28 Oct 2015 18:33:07 +0000 (14:33 -0400)
commitee3e19b8afe79b5ba48f76cf7bb9fc415a748bb7
tree85f7ef03ad28216592010de2ca1f8672414dc1ea
parentff042cbb8d0f13010452a1429184a3bd625ad71a
Better fix for T35

Reverts previous commit and fixes it properly. The issue wasn't that
wx would send a setting change event after the control was destroyed,
but rather, it would send a setting change event on the list box just
before the destroy event.
The issue was that OnSettingChange would reset the config for all of
the controls, instead of only for the control that changed, and so it
was trying to access already destroyed controls.
Cura/gui/pluginPanel.py