mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 06:55:54 +08:00
Bugfix: new syntax for wxTheApp->presets
This commit is contained in:
parent
aa3153fb65
commit
b7544e3c6f
@ -40,7 +40,7 @@ sub new {
|
||||
|
||||
EVT_LEFT_DOWN($btn, sub {
|
||||
my $menu = Wx::Menu->new;
|
||||
my %presets = map { $_->name => $_ } wxTheApp->presets('printer');
|
||||
my %presets = map { $_->name => $_ } @{wxTheApp->presets->{printer}};
|
||||
|
||||
# remove printers that already exist
|
||||
my @panels = $self->print_panels;
|
||||
|
Loading…
x
Reference in New Issue
Block a user