mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Bugfix: choice fields were not populated correctly in object and part settings
This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user