mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 04:51:59 +08:00
Minor fix: don't reselect the 3D plater when the 2D plater is already selected
This commit is contained in:
parent
c661a2fcd4
commit
f2d8ab5b87
@ -1051,7 +1051,10 @@ sub schedule_background_process {
|
||||
my ($self) = @_;
|
||||
|
||||
if (!$Slic3r::GUI::Settings->{_}{background_processing}) {
|
||||
$self->{preview_notebook}->SetSelection(0);
|
||||
my $sel = $self->{preview_notebook}->GetSelection;
|
||||
if ($sel == $self->{preview3D_page_idx} || $sel == $self->{toolpaths2D_page_idx}) {
|
||||
$self->{preview_notebook}->SetSelection(0);
|
||||
}
|
||||
}
|
||||
|
||||
if (defined $self->{apply_config_timer}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user