summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r--perl-install/standalone/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 81be77940..68f30b405 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -229,7 +229,7 @@ sub generate_menu {
};
my (@settings, @actions);
- my $has_wireless = detect_devices::has_wireless();
+ my $has_wireless = detect_devices::has_wireless() && keys %wireless_networks;
if ($state_type eq 'connected') {
push @actions, $create_item->($_) foreach qw(downNetwork monitorNetwork);