Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 33d7722

Browse files
bluemarvinMortimerGoro
authored andcommitted
Ensure parent session is active before setting in Window (#2339)
1 parent 98c54a4 commit 33d7722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/WindowWidget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,8 +1110,8 @@ public void onStackSession(Session aSession) {
11101110
@Override
11111111
public void onUnstackSession(Session aSession, Session aParent) {
11121112
if (mSession == aSession) {
1113-
setSession(aParent);
11141113
aParent.setActive(true);
1114+
setSession(aParent);
11151115
SessionStore.get().setActiveSession(aParent);
11161116
SessionStore.get().destroySession(aSession);
11171117
}

0 commit comments

Comments
 (0)