diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-02-25 16:50:35 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-02-25 16:50:35 +0000 |
commit | 2f2d2f473d6b5e8145b32b4502a416c1bf83da8d (patch) | |
tree | 47233d486361e9da2ab3ea49767dfffea206bfa0 /lib | |
parent | 40e106a0c38c9997f7a5d0149e6be66c4851fe3a (diff) | |
download | drakx-net-2f2d2f473d6b5e8145b32b4502a416c1bf83da8d.tar drakx-net-2f2d2f473d6b5e8145b32b4502a416c1bf83da8d.tar.gz drakx-net-2f2d2f473d6b5e8145b32b4502a416c1bf83da8d.tar.bz2 drakx-net-2f2d2f473d6b5e8145b32b4502a416c1bf83da8d.tar.xz drakx-net-2f2d2f473d6b5e8145b32b4502a416c1bf83da8d.zip |
simplify
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/network/netcenter.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index f533a8f..389bc03 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -190,12 +190,9 @@ sub main { $box->show_all; } $cmanager->{parent_box}->show; - return; } - $cmanager or return; if ($status eq "remove") { - $cmanager->{parent_box}->hide; - return; + $cmanager->{parent_box}->hide if $cmanager; } } }); |