Bugfix: choice fields were not populated correctly in object and part settings
This commit is contained in:
parent
c97cac5bc9
commit
b8ef6c6c26
1 changed files with 2 additions and 0 deletions
|
@ -203,6 +203,8 @@ sub BUILD {
|
||||||
$self->option->labels || $self->option->values, wxCB_READONLY);
|
$self->option->labels || $self->option->values, wxCB_READONLY);
|
||||||
$self->wxWindow($field);
|
$self->wxWindow($field);
|
||||||
|
|
||||||
|
$self->set_value($self->option->default);
|
||||||
|
|
||||||
EVT_COMBOBOX($self->parent, $field, sub {
|
EVT_COMBOBOX($self->parent, $field, sub {
|
||||||
$self->_on_change($self->option->opt_id);
|
$self->_on_change($self->option->opt_id);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue