diff options
Diffstat (limited to 'lib/network/connection_manager.pm')
-rw-r--r-- | lib/network/connection_manager.pm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 9b920a7..fdfe5ca 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -242,21 +242,9 @@ sub toggle_connection { } } -sub select_network { - my ($cmanager) = @_; - - if ($cmanager->{connection}) { - my ($selected) = $cmanager->{gui}{networks_list}->get_selected_indices; - $cmanager->{connection}{network} = defined $selected && $cmanager->{gui}{networks_list}{data}[$selected][0]; - } - $cmanager->update_on_status_change; -} - sub update_networks { my ($cmanager) = @_; - @{$cmanager->{gui}{networks_list}{data}} = (); - if ($cmanager->{connection}) { $cmanager->check_setup || $cmanager->setup_connection or return; |