Skip to content

Commit

Permalink
Dismiss "Failed to reload settings" modals when settings.json is valid (
Browse files Browse the repository at this point in the history
#16119)

Have added a conditional check in `TerminalWindow::UpdateSettings`
method

## PR Checklist
- [X] Closes #15987
  • Loading branch information
codecruisedor authored Oct 11, 2023
1 parent d801375 commit af8e20c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cascadia/TerminalApp/TerminalWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,10 @@ namespace winrt::TerminalApp::implementation
{
_ShowLoadWarningsDialog(args.Warnings());
}
else if (args.Result() == S_OK)
{
DismissDialog();
}
_RefreshThemeRoutine();
}
}
Expand Down

0 comments on commit af8e20c

Please sign in to comment.