B2016-001: Don’t crash when deleting a section in editor with transition link errors & select ‘No’ to not get placed on sub-steps
This commit is contained in:
parent
596a59d0f6
commit
970ba90c35
@ -495,6 +495,11 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
float oldTop = lastEI.Top;
|
float oldTop = lastEI.Top;
|
||||||
EditItem newFocus = lastEI.DeleteItem();
|
EditItem newFocus = lastEI.DeleteItem();
|
||||||
|
if (newFocus == null)
|
||||||
|
{
|
||||||
|
lastEI.RefreshContent();
|
||||||
|
return;
|
||||||
|
}
|
||||||
float newTop = newFocus.Top;
|
float newTop = newFocus.Top;
|
||||||
lastEI.Dispose();
|
lastEI.Dispose();
|
||||||
newFocus.SetAllTabs();
|
newFocus.SetAllTabs();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user