mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 774156 - Fix NPE in Tabs when "Don't keep activities" is enabled. r=mfinkle
--HG-- extra : rebase_source : 349b50529c10e34197975373233ccc5525ade7fe
This commit is contained in:
parent
4a3cfe132a
commit
ee3f6d8da9
@ -101,7 +101,8 @@ public class Tabs implements GeckoEventListener {
|
||||
mSelectedTab = tab;
|
||||
GeckoApp.mAppContext.mMainHandler.post(new Runnable() {
|
||||
public void run() {
|
||||
GeckoApp.mAppContext.mFormAssistPopup.hide();
|
||||
if (GeckoApp.mAppContext.mFormAssistPopup != null)
|
||||
GeckoApp.mAppContext.mFormAssistPopup.hide();
|
||||
if (isSelectedTab(tab)) {
|
||||
String url = tab.getURL();
|
||||
notifyListeners(tab, TabEvents.SELECTED);
|
||||
|
Loading…
Reference in New Issue
Block a user