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

Fix build breakage #3437

Merged
merged 1 commit into from
May 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -742,10 +742,8 @@ public void restoreSessions() {
if (windowState.tabIndex >= 0 && windowState.tabIndex < restoredSessions.size()) {
Session defaultSession = targetWindow.getSession();
Session session = restoredSessions.get(windowState.tabIndex);
targetWindow.setupListeners(session);
targetWindow.setSession(session, WindowWidget.DEACTIVATE_CURRENT_SESSION);
session.setActive(true);
targetWindow.setSession(session);
SessionStore.get().setActiveSession(session);
// Destroy the default blank session
SessionStore.get().destroySession(defaultSession);

Expand Down