Bugfix: choice fields were not populated correctly in object and part settings

This commit is contained in:
Alessandro Ranellucci 2014-11-08 15:42:23 +01:00
parent c97cac5bc9
commit b8ef6c6c26

View File

@ -203,6 +203,8 @@ sub BUILD {
$self->option->labels || $self->option->values, wxCB_READONLY);
$self->wxWindow($field);
$self->set_value($self->option->default);
EVT_COMBOBOX($self->parent, $field, sub {
$self->_on_change($self->option->opt_id);
});