mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-30 08:55:39 +08:00
(GUI): trim newlines from statusline messages.
This commit is contained in:
parent
c50b2d3ec3
commit
89a7910a57
@ -183,12 +183,12 @@ namespace GARbro.GUI
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public void SetStatusText (string text)
|
public void SetStatusText (string text)
|
||||||
{
|
{
|
||||||
Dispatcher.Invoke (() => { appStatusText.Text = text; });
|
Dispatcher.Invoke (() => { appStatusText.Text = text.Trim(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetResourceText (string text)
|
public void SetResourceText (string text)
|
||||||
{
|
{
|
||||||
Dispatcher.Invoke (() => { appResourceText.Text = text; });
|
Dispatcher.Invoke (() => { appResourceText.Text = text.Trim(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user