Added a null reference check
This commit is contained in:
parent
07e215a9ca
commit
bb6a27fb73
@ -561,7 +561,8 @@ namespace Volian.Controls.Library
|
|||||||
if (deletingParent && newFocus != null)
|
if (deletingParent && newFocus != null)
|
||||||
value = newFocus;
|
value = newFocus;
|
||||||
_SelectedEditItem = value;
|
_SelectedEditItem = value;
|
||||||
MyStepTabPanel.MyStepTabRibbon.MyEditItem = value;// Update StepTabRibbon.MyEditItem to match
|
if (MyStepTabPanel != null)
|
||||||
|
MyStepTabPanel.MyStepTabRibbon.MyEditItem = value;// Update StepTabRibbon.MyEditItem to match
|
||||||
if (value != null)
|
if (value != null)
|
||||||
{
|
{
|
||||||
_SelectedEditItem.RefreshDisplay(true);
|
_SelectedEditItem.RefreshDisplay(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user