diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/network/drakroam.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm index f7b9d55..ac5fa60 100755 --- a/lib/network/drakroam.pm +++ b/lib/network/drakroam.pm @@ -47,7 +47,7 @@ sub select_connection { sub update_on_connection_change { my ($droam) = @_; - return if !$droam->check_setup; + return if !($droam->{connection} && $droam->check_setup); $droam->{gui}{buttons}{refresh}->set_sensitive(to_bool($droam->{connection})) if $droam->{gui}{buttons}{refresh}; $droam->update_networks; |