Fix MainFrame after recent changes in preset handling
This commit is contained in:
parent
70601eeb51
commit
cc36aff66a
@ -435,7 +435,7 @@ sub extra_variables {
|
||||
|
||||
my %extra_variables = ();
|
||||
if ($self->{mode} eq 'expert') {
|
||||
$extra_variables{"${_}_preset"} = $self->{options_tabs}{$_}->current_preset->{name}
|
||||
$extra_variables{"${_}_preset"} = $self->{options_tabs}{$_}->get_current_preset->name
|
||||
for qw(print filament printer);
|
||||
}
|
||||
return { %extra_variables };
|
||||
|
Loading…
Reference in New Issue
Block a user