From 6b4f038d173b6cfb091cad47b05bdd69bb986451 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 15 Oct 2012 10:59:54 +0200 Subject: [PATCH] Update copies number when decreasing parts. #747 --- lib/Slic3r/GUI/Plater.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 37dd165fa..cdaa903a6 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -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; }