Fixed logic to support adding a Caution when a Caution exists in Deviation Document Format
This commit is contained in:
parent
30369c2630
commit
e1019e3454
@ -592,7 +592,7 @@ namespace Volian.Controls.Library
|
|||||||
_MyNextEditItem = nextEditItem;
|
_MyNextEditItem = nextEditItem;
|
||||||
nextEditItem._MyPreviousEditItem = this;
|
nextEditItem._MyPreviousEditItem = this;
|
||||||
MyPreviousEditItem = prevChild;// If a previous exists - this will adjust the location and width of the EditItem
|
MyPreviousEditItem = prevChild;// If a previous exists - this will adjust the location and width of the EditItem
|
||||||
if (!MyItemInfo.ActiveFormat.MyStepSectionLayoutData.Dev_Format || ( nextEditItem.MyItemInfo.IsNote && MyItemInfo.IsCaution))
|
if (!MyItemInfo.ActiveFormat.MyStepSectionLayoutData.Dev_Format || !( nextEditItem.MyItemInfo.IsNote && MyItemInfo.IsCaution) )
|
||||||
{
|
{
|
||||||
// RHM 20170216 For Deviation Document don't set MyParentEditItem to null when Type Changes from Caution to Note
|
// RHM 20170216 For Deviation Document don't set MyParentEditItem to null when Type Changes from Caution to Note
|
||||||
nextEditItem.MyParentEditItem = null;
|
nextEditItem.MyParentEditItem = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user