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
|
@Override
|
||||||
public boolean areAllItemsEnabled() {
|
public boolean areAllItemsEnabled() {
|
||||||
for (GeckoMenuItem item : mItems) {
|
// Setting this to true is a workaround to fix disappearing
|
||||||
if (!item.isEnabled())
|
// dividers in the menu (bug 963249).
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user