mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Bugfix: plater wasn't initialized with last settings. #573
This commit is contained in:
parent
9ca090a785
commit
2616c24ffc
3 changed files with 17 additions and 16 deletions
|
@ -15,7 +15,7 @@ sub new {
|
|||
my $self = $class->SUPER::new($parent, -1, wxDefaultPosition, wxDefaultSize, wxBK_LEFT | wxTAB_TRAVERSAL);
|
||||
$self->{options} = []; # array of option names handled by this tab
|
||||
|
||||
$self->{sync_presets_with} = $params{sync_presets_with};
|
||||
$self->{$_} = $params{$_} for qw(sync_presets_with on_value_change);
|
||||
EVT_CHOICE($parent, $self->{sync_presets_with}, sub {
|
||||
$self->{presets_choice}->SetSelection($self->{sync_presets_with}->GetSelection);
|
||||
$self->on_select_preset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue