mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 15:05:54 +08:00
Disable the "split" button when there is no volume selected.
This commit is contained in:
parent
b724d789fd
commit
aa54c3402b
@ -261,7 +261,7 @@ sub selection_changed {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# disable things as if nothing is selected
|
# disable things as if nothing is selected
|
||||||
$self->{'btn_' . $_}->Disable for (qw(delete move_up move_down));
|
$self->{'btn_' . $_}->Disable for (qw(delete move_up move_down split));
|
||||||
$self->{settings_panel}->disable;
|
$self->{settings_panel}->disable;
|
||||||
$self->{settings_panel}->set_config(undef);
|
$self->{settings_panel}->set_config(undef);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user