Revert "BMenu return only enabled items"
Patch by "stimut"
This reverts commit abc26ba8ad
.
Reverting this patch fixes #6610
This commit is contained in:
parent
d31b295e59
commit
77850e8dba
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user