mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-24 23:27:46 +08:00
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…
x
Reference in New Issue
Block a user