summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/network/connection_manager.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index cb24859..cc0e74c 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -253,13 +253,13 @@ sub create_networks_list {
}
sub select_network {
- my ($droam) = @_;
+ my ($cmanager) = @_;
- if ($droam->{connection}) {
- my ($selected) = $droam->{gui}{networks_list}->get_selected_indices;
- $droam->{connection}{network} = defined $selected && $droam->{gui}{networks_list}{data}[$selected][0];
+ if ($cmanager->{connection}) {
+ my ($selected) = $cmanager->{gui}{networks_list}->get_selected_indices;
+ $cmanager->{connection}{network} = defined $selected && $cmanager->{gui}{networks_list}{data}[$selected][0];
}
- update_on_status_change($droam);
+ update_on_status_change($cmanager);
}
sub filter_networks {