Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 0f4c604

Browse files
committed
Save the PR list filter settings.
Somewhere along the line, the call to `SaveSettings` in `UpdateFilter` got removed, causing the filter settings not to get persisted. This reinstates that call. Fixes #1494
1 parent 8178296 commit 0f4c604

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub.App/ViewModels/GitHubPane/PullRequestListViewModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ void UpdateFilter(PullRequestState state, IAccount ass, IAccount aut, string fil
206206
(filterTextIsNumber == false || pullRequest.Number == filterPullRequestNumber) &&
207207
(filterTextIsString == false || pullRequest.Title.ToUpperInvariant().Contains(filText.ToUpperInvariant()));
208208
}
209+
210+
SaveSettings();
209211
}
210212

211213
string searchQuery;

0 commit comments

Comments
 (0)