Skip to content

Commit

Permalink
remove duplicate check
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosefield committed Aug 28, 2021
1 parent d397367 commit 8042cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/TerminalApp/TerminalPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ namespace winrt::TerminalApp::implementation
}
}

if (ShouldUsePersistedLayout(_settings) && _numOpenWindows == 1)
if (ShouldUsePersistedLayout(_settings))
{
// If persisted layout is enabled and we are the last window closing
// we should save our state.
Expand Down

0 comments on commit 8042cb8

Please sign in to comment.