* 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:
parent
4b252842da
commit
4a3a7e3f28
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user