fix: set UseShellExecute for opening urls

This commit is contained in:
Anna 2021-09-03 01:52:18 -04:00
parent f1be5a37ba
commit f114a4ac26
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
1 changed files with 4 additions and 1 deletions

View File

@ -187,7 +187,10 @@ namespace ExpandedSearchInfo {
ImGui.TreePush();
if (IconButton(FontAwesomeIcon.ExternalLinkAlt, $"open-{i}")) {
Process.Start(section.Uri.ToString());
Process.Start(new ProcessStartInfo {
FileName = section.Uri.ToString(),
UseShellExecute = true,
});
}
if (ImGui.IsItemHovered()) {