mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-04 22:24:03 +08:00
Finished bb103122065cddf8f8ea63f5e4fce954142c4d4c
This commit is contained in:
parent
eb23990d6d
commit
98c67007d5
@ -89,7 +89,7 @@ sub reload_print {
|
||||
}
|
||||
}
|
||||
$self->{layers_z} = [ sort { $a <=> $b } keys %z ];
|
||||
###$self->{slider}->SetMax(scalar(@{$self->{layers_z}})-1);
|
||||
$self->{slider}->SetRange(0, scalar(@{$self->{layers_z}})-1);
|
||||
$self->enabled(1);
|
||||
$self->set_z($self->{layers_z}[0]) if @{$self->{layers_z}};
|
||||
$self->{slider}->Show;
|
||||
|
Loading…
x
Reference in New Issue
Block a user