mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 743633 - Dismissed doorhanger popup reappears when doorhanger notifications are added to background tabs. r=mfinkle
This commit is contained in:
parent
de5b6eeb27
commit
b931d603dc
@ -112,7 +112,9 @@ public class DoorHangerPopup extends PopupWindow {
|
||||
tab.addDoorHanger(value, dh);
|
||||
mContent.addView(dh);
|
||||
|
||||
updatePopup();
|
||||
// Only update the popup if we're adding a notifcation to the selected tab
|
||||
if (tab.equals(Tabs.getInstance().getSelectedTab()))
|
||||
updatePopup();
|
||||
}
|
||||
|
||||
// Updates popup contents to show doorhangers for the selected tab
|
||||
|
Loading…
Reference in New Issue
Block a user