Remove old BeOS-era hack to prevent NavMenus from containing > 500 items. This fixes missing items when right click browsing large directories.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31858 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -472,10 +472,6 @@ BNavMenu::AddNextItem()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// limit nav menus to 500 items only
|
|
||||||
if (fItemList->CountItems() > 500)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
BEntry entry;
|
BEntry entry;
|
||||||
if (fContainer->GetNextEntry(&entry) != B_OK) {
|
if (fContainer->GetNextEntry(&entry) != B_OK) {
|
||||||
// we're finished
|
// we're finished
|
||||||
|
|||||||
Reference in New Issue
Block a user