Bug fix B2012-345 – program would sometimes crash when doing a spell check.
This commit is contained in:
parent
295bcdb4e0
commit
8d7072d3b7
@ -27,7 +27,7 @@ namespace Volian.Controls.Library
|
||||
while (MyEditItem.SpellCheckNext())
|
||||
{
|
||||
ItemInfo next = MyEditItem.MyItemInfo.SearchNext;
|
||||
if (next.IsSection)
|
||||
if (next == null || next.IsSection)
|
||||
return; // spell check only current section
|
||||
MyEditItem.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.OpenItem(next);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user