* Don't show the separator if there aren't any devices.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42195 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2011-06-15 20:11:35 +00:00
parent 4b252842da
commit 4a3a7e3f28

View File

@ -412,7 +412,8 @@ NetworkStatusView::MouseDown(BPoint point)
menu->AddItem(new BMenuItem(label.String(), info));
}
menu->AddSeparatorItem();
if (!fInterfaces.IsEmpty())
menu->AddSeparatorItem();
// Add wireless networks, if any