Disable the "split" button when there is no volume selected.

This commit is contained in:
bubnikv 2017-06-15 18:11:36 +02:00
parent b724d789fd
commit aa54c3402b

View file

@ -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);