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