diff options
Diffstat (limited to 'lib/network/connection_manager.pm')
-rw-r--r-- | lib/network/connection_manager.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 83def2d..e9cc7d9 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -255,6 +255,10 @@ sub update_networks { sub update_on_status_change { my ($cmanager) = @_; + if ($cmanager->{connection} && !keys %{$cmanager->{connection}{networks}}) { + use Data::Dumper; print Dumper($cmanager->{connection}, $cmanager->{connection}->get_status, $cmanager->{connection}->get_interface); + } + if ($cmanager->{gui}{buttons}{connect_toggle}) { my $disconnect = toggle_would_disconnect($cmanager); $cmanager->{gui}{buttons}{connect_toggle}->set_label($disconnect ? N("Disconnect") : N("Connect")); |