Revert "BMenu return only enabled items"

Patch by "stimut"

This reverts commit abc26ba8ad.

Reverting this patch fixes #6610
This commit is contained in:
John Scipione
2013-08-20 13:30:31 -04:00
parent d31b295e59
commit 77850e8dba
+1 -1
View File
@@ -2528,7 +2528,7 @@ BMenu::_HitTestItems(BPoint where, BPoint slop) const
int32 itemCount = CountItems();
for (int32 i = 0; i < itemCount; i++) {
BMenuItem* item = ItemAt(i);
if (item->IsEnabled() && item->Frame().Contains(where))
if (item->Frame().Contains(where))
return item;
}