Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make opening the settings file more robust (#1841)
* Make opening the settings file more robust This fixes two issues. * Opens the assigned default application regardless of its configuration. Gvim for example only reacts to the "edit" verb so when selected as default application won't open. Using nullptr results in using the first specified application. This fixes #1789 * If no application is assigned for json files fall back to notepad See https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shellexecutea for more details especially why the result code checking is so horrific. * Fix c-style cast
- Loading branch information