summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_applet b/bin/net_applet
index 2f99f70..a0b03c8 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -173,7 +173,7 @@ $icon->signal_connect(activate => sub {
});
$icon->signal_connect(popup_menu => sub {
my ($_icon, $button, $time) = @_;
- $menu->popup(undef, undef, undef, undef, $button, $time);
+ $menu->popup(undef, undef, undef, undef, $button, $time) if $menu;
});
checkNetworkForce();