diff options
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakperm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm index e3d4f4d75..bcf1d60e6 100755 --- a/perl-install/standalone/drakperm +++ b/perl-install/standalone/drakperm @@ -142,9 +142,7 @@ $combo_perm->entry->set_text($default_perm_level); $permList->get_selection->signal_connect('changed' => sub { my ($select) = @_; my (undef, $iter) = $select->get_selected; - my $editable = $editable; - $editable = 0 unless $iter; - sensitive_buttons($editable); + sensitive_buttons($iter ? $editable : 0); }); $w->main; |