mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 963249 - Override MenuItemsAdapter#areAllItemsEnabled to always be true. r=wesj
This commit is contained in:
parent
a25112467e
commit
f7d1d63324
@ -734,11 +734,8 @@ public class GeckoMenu extends ListView
|
||||
|
||||
@Override
|
||||
public boolean areAllItemsEnabled() {
|
||||
for (GeckoMenuItem item : mItems) {
|
||||
if (!item.isEnabled())
|
||||
return false;
|
||||
}
|
||||
|
||||
// Setting this to true is a workaround to fix disappearing
|
||||
// dividers in the menu (bug 963249).
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user