summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/network/drakroam.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm
index 7662e82..5d2e2aa 100755
--- a/lib/network/drakroam.pm
+++ b/lib/network/drakroam.pm
@@ -326,7 +326,7 @@ sub build_drakroam_gui {
0, $status_bar,
]),
);
- $droam->{gui}{networks_list}->get_selection->signal_connect('changed' => \&select_network);
+ $droam->{gui}{networks_list}->get_selection->signal_connect('changed' => sub { select_network($droam) });
}
sub main {