Check for a null reference when the <Shift><F7> is used to toggle inclusion on the Continuous Action Summary
This commit is contained in:
parent
ac126563df
commit
2229ac2908
@ -1905,6 +1905,7 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
protected void ToggleContinuousActionSummary()
|
protected void ToggleContinuousActionSummary()
|
||||||
{
|
{
|
||||||
|
if (MyStepPropertiesPanel != null) // bug fix B2016-256 check for a null reference incase we are not on a step element
|
||||||
MyStepPropertiesPanel.ToggleContActSummary(); // update the checkbox on the Step Properties panel
|
MyStepPropertiesPanel.ToggleContActSummary(); // update the checkbox on the Step Properties panel
|
||||||
if (!MyStepRTB.ContainsFocus)
|
if (!MyStepRTB.ContainsFocus)
|
||||||
MyStepRTB.Focus();
|
MyStepRTB.Focus();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user