Skip to content

Commit

Permalink
Sorting tools
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Dec 27, 2020
1 parent 575079d commit 1dee94d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Rappen.XTB.IntegrationTester/XIT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ public XIT()
private void MyPluginControl_Load(object sender, EventArgs e)
{
var tools = PluginManagerExtended.Instance.ValidatedPlugins
//.Where(t => t.Value.GetControl() is IMessageBusHost)
.Select(t => new ToolProxy(t)).ToList();
.Select(t => new ToolProxy(t))
.OrderBy(t => t.Name)
.ToList();

if (!SettingsManager.Instance.TryLoad(GetType(), out mySettings))
{
Expand Down Expand Up @@ -83,7 +84,7 @@ private void button1_Click(object sender, EventArgs e)

public void OnIncomingMessage(MessageBusEventArgs message)
{
txtInfo.Text = $"Source Tool: {message.SourcePlugin}\n\rArgument: {message.TargetArgument}";
txtInfo.Text = $"Source Tool: {message.SourcePlugin}\r\nArgument: {message.TargetArgument}";
}
}
}

0 comments on commit 1dee94d

Please sign in to comment.