Skip to content
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

When NVDA config path is overwritten from the command line open actual config dir when using a keyboard command #10911

Merged
merged 2 commits into from
Mar 30, 2020

Conversation

lukaszgo1
Copy link
Contributor

Link to issue number:

Discussion in #10493

Summary of the issue:

If NVDA config path is overwritten from the command line and user tries to open configuration directory by pressing keyboard command wrong folder is opened,

Description of how this pull request fixes the issue:

If possible globalVars.appArgs.configPath is used to retrieve actual config path falling back to config.getUserDefaultConfigPath() if not.

Testing performed:

Ensured that when the config path is specified on the command line and the script to open config path is executed proper folder opens.

Known issues with pull request:

None known

Change log entry:

None needed this is not in a release yet.

@lukaszgo1
Copy link
Contributor Author

@feerrenrut I'd appreciate your review when time permits.

source/systemUtils.py Show resolved Hide resolved
@lukaszgo1
Copy link
Contributor Author

@feerrenrut Done.

Copy link
Contributor

@feerrenrut feerrenrut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lukaszgo1

@feerrenrut feerrenrut merged commit 47bf1df into nvaccess:master Mar 30, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.1 milestone Mar 30, 2020
@feerrenrut feerrenrut modified the milestones: 2020.1, 2020.2 Mar 30, 2020
@lukaszgo1 lukaszgo1 deleted the fixUpPR10493 branch March 30, 2020 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants