mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-03 18:50:47 +08:00
Bugfix: canceling the "Set Copies" dialog didn't work. #3787
This commit is contained in:
parent
488cc02f53
commit
0de3a72eb4
@ -840,6 +840,7 @@ sub set_number_of_copies {
|
||||
|
||||
# prompt user
|
||||
my $copies = Wx::GetNumberFromUser("", "Enter the number of copies of the selected object:", "Copies", $model_object->instances_count, 0, 1000, $self);
|
||||
return if $copies == -1;
|
||||
my $diff = $copies - $model_object->instances_count;
|
||||
if ($diff == 0) {
|
||||
# no variation
|
||||
|
Loading…
x
Reference in New Issue
Block a user