mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Try to fix crash from #8747 - thx JDTR75/ cvrle77 :)
This commit is contained in:
parent
623fb09565
commit
745c1e79f8
@ -31482,12 +31482,12 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
return;
|
||||
}
|
||||
|
||||
string newText = p.Text.TrimEnd();
|
||||
string oldText = _listViewTextUndoLast.TrimEnd();
|
||||
if (oldText == null)
|
||||
var newText = p.Text.TrimEnd();
|
||||
if (_listViewTextUndoLast == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var oldText = _listViewTextUndoLast.TrimEnd();
|
||||
|
||||
if (_listViewTextUndoLast != newText)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user