mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
parent
c9337ad33d
commit
6938fe1e26
@ -1,5 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Nikse.SubtitleEdit.Core;
|
||||
using System.Windows.Forms;
|
||||
@ -31,14 +30,14 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
timer1.Stop();
|
||||
if (_logCount != _log.Count)
|
||||
{
|
||||
_logCount = _log.Count;
|
||||
var sb = new StringBuilder();
|
||||
foreach (var logEntry in _log.AsEnumerable().Reverse())
|
||||
for (int i = _logCount - 1; i >= 0; i--)
|
||||
{
|
||||
sb.AppendLine(logEntry);
|
||||
sb.AppendLine(_log[i]);
|
||||
}
|
||||
textBoxStatusLog.Text = sb.ToString();
|
||||
}
|
||||
_logCount = _log.Count;
|
||||
timer1.Start();
|
||||
}
|
||||
|
||||
@ -47,4 +46,4 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user