(GUI): trim newlines from statusline messages.

This commit is contained in:
morkt 2018-01-15 12:22:05 +04:00
parent c50b2d3ec3
commit 89a7910a57

View File

@ -183,12 +183,12 @@ namespace GARbro.GUI
/// </summary>
public void SetStatusText (string text)
{
Dispatcher.Invoke (() => { appStatusText.Text = text; });
Dispatcher.Invoke (() => { appStatusText.Text = text.Trim(); });
}
public void SetResourceText (string text)
{
Dispatcher.Invoke (() => { appResourceText.Text = text; });
Dispatcher.Invoke (() => { appResourceText.Text = text.Trim(); });
}
/// <summary>