diff --git a/src/Entity/Browser/Container/Page/Auth.php b/src/Entity/Browser/Container/Page/Auth.php index 58311d7a..a19d9113 100644 --- a/src/Entity/Browser/Container/Page/Auth.php +++ b/src/Entity/Browser/Container/Page/Auth.php @@ -244,24 +244,20 @@ class Auth $option->connect( 'toggled', - function ( - GtkRadioButton $self - ) { + function(): void + { // Detect active option foreach ($this->_options as $id => $option) { // Is new if (!$id) { - if ($option->get_active()) - { - $this->name->show(); - } + // Update sensibility + $this->name->set_sensitive( + $option->get_active() + ); - else - { - $this->name->hide(); - } + break; } } }