fix: set UseShellExecute for opening urls

This commit is contained in:
Anna 2021-09-03 01:52:18 -04:00
parent 321ee8650a
commit 9e2e83e9d2
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()) {