mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 21:49:02 +08:00
Update copies number when decreasing parts. #747
This commit is contained in:
parent
769134bb6f
commit
6b4f038d17
@ -384,6 +384,7 @@ sub decrease {
|
||||
my ($obj_idx, $object) = $self->selected_object;
|
||||
if ($object->instances_count >= 2) {
|
||||
pop @{$object->instances};
|
||||
$self->{list}->SetItem($obj_idx, 1, $object->instances_count);
|
||||
} else {
|
||||
$self->remove;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user