Skip to content

Commit

Permalink
Fixed #1012v open OData to correct profile
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Mar 24, 2024
1 parent 70463d1 commit 07e827a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions FetchXmlBuilder/DockControls/ODataControl.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Diagnostics;
using System.Windows.Forms;

namespace Rappen.XTB.FetchXmlBuilder.DockControls
Expand Down Expand Up @@ -51,7 +50,7 @@ private void menuODataExecute_Click(object sender, EventArgs e)
{
if (linkOData.Links.Count > 0 && linkOData.Links[0].Enabled)
{
Process.Start(linkOData.Links[0].LinkData as string);
fxb.OpenURLProfile(linkOData.Links[0].LinkData as string, false);
fxb.LogUse("ExecuteOData" + version);
}
else
Expand All @@ -77,7 +76,7 @@ private void linkOData_LinkClicked(object sender, LinkLabelLinkClickedEventArgs
{
if (e.Button == MouseButtons.Left && e.Link.Enabled)
{
Process.Start(e.Link.LinkData as string);
fxb.OpenURLProfile(e.Link.LinkData as string, false);
fxb.LogUse("ExecuteOData" + version);
}
}
Expand Down

0 comments on commit 07e827a

Please sign in to comment.