Skip to content

Commit b3a3571

Browse files
committed
Fixed #1012 to open OData to correct profile
1 parent 70463d1 commit b3a3571

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

FetchXmlBuilder/DockControls/ODataControl.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Diagnostics;
32
using System.Windows.Forms;
43

54
namespace Rappen.XTB.FetchXmlBuilder.DockControls
@@ -51,7 +50,7 @@ private void menuODataExecute_Click(object sender, EventArgs e)
5150
{
5251
if (linkOData.Links.Count > 0 && linkOData.Links[0].Enabled)
5352
{
54-
Process.Start(linkOData.Links[0].LinkData as string);
53+
fxb.OpenURLProfile(linkOData.Links[0].LinkData as string, false);
5554
fxb.LogUse("ExecuteOData" + version);
5655
}
5756
else
@@ -77,7 +76,7 @@ private void linkOData_LinkClicked(object sender, LinkLabelLinkClickedEventArgs
7776
{
7877
if (e.Button == MouseButtons.Left && e.Link.Enabled)
7978
{
80-
Process.Start(e.Link.LinkData as string);
79+
fxb.OpenURLProfile(e.Link.LinkData as string, false);
8180
fxb.LogUse("ExecuteOData" + version);
8281
}
8382
}

0 commit comments

Comments
 (0)