New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: clearRecentDocuments role on Windows #19599
Conversation
Release Notes Persisted
|
I was unable to backport this PR to "5-0-x" cleanly; |
I have automatically backported this PR to "6-0-x", please check out #19637 |
I have automatically backported this PR to "7-0-x", please check out #19638 |
* fix: clear recent documents on windows * chore: don't check for version < win 7
A maintainer has manually backported this PR to "5-0-x", please check out #19640 |
Description of Change
Closes #19588.
Per documentation,
SHAddToRecentDocs
can also be used to clear all recent documents. This switches our impl to use that fn and passesnullptr
as the second argument to clear all recent docs:cc @deermichel
Checklist
npm test
passesRelease Notes
Notes: Fixed the
clearRecentDocuments
MenuItem role on Windows.