mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-26 23:24:00 +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>
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user