mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1117746 - Share asset is intermittently missing from recent nightlies r=rnewman
This commit is contained in:
parent
6d1c501608
commit
70fc8c5202
@ -444,7 +444,9 @@ public class GeckoMenuItem implements MenuItem {
|
||||
|
||||
@Override
|
||||
public MenuItem setVisible(boolean visible) {
|
||||
if (mVisible != visible) {
|
||||
// Action views are not normal menu items and visibility can get out
|
||||
// of sync unless we dispatch whenever required.
|
||||
if (isActionItem() || mVisible != visible) {
|
||||
mVisible = visible;
|
||||
if (mShouldDispatchChanges) {
|
||||
mMenu.onItemChanged(this);
|
||||
|
Loading…
Reference in New Issue
Block a user