Skip to content
This repository was archived by the owner on Jul 8, 2020. It is now read-only.

Fix hard-coded XnatUrl settings #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion AimPlugin4.5/XnatWebBrowser/XnatWebBrowserTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
using ClearCanvas.Desktop;
using ClearCanvas.Desktop.Actions;
using ClearCanvas.Desktop.Tools;
using XnatWebBrowser.Configuration;

namespace XnatWebBrowser
{
Expand Down Expand Up @@ -92,7 +93,7 @@ public void Apply()
var component = new XnatWebBrowserComponent();

ApplicationComponent.LaunchAsWorkspace(Context.DesktopWindow, component, SR.WorkspaceName);
component.Url = "https://central.xnat.org/";
component.Url = XnatSettings.Default.XnatUrl;
component.SetDocumentTitle("XNAT Imaging");
component.Go();
component.Stopped += ComponentStopped;
Expand Down