C2015-022 Separate Windows Upgrade – new call to RemoveEnhancedFromConfig
This commit is contained in:
parent
e4866e4ecc
commit
d00ebcc35d
@ -232,6 +232,7 @@ namespace Volian.Controls.Library
|
||||
//myRTB.LastRtf = string.Empty;
|
||||
myVFG.Clear();
|
||||
myPicBox.Image = null;
|
||||
if (!tvAudits.IsDisposed) // fixes a crash that happend while debugging separate windows, have not been able to reproduce. left this IF check in just in case. - jsj 2-1-2018
|
||||
tvAudits.Nodes.Clear();
|
||||
if (MyItemInfo == null)
|
||||
{
|
||||
@ -643,7 +644,7 @@ namespace Volian.Controls.Library
|
||||
// get id for step that is linked & see if it exists - if not, clear the enhanced config data
|
||||
StepConfig sc = MyItemInfo.MyConfig as StepConfig;
|
||||
ItemInfo iexists = ItemInfo.Get(sc.MyEnhancedDocuments[0].ItemID);
|
||||
if (iexists == null) ItemInfo.RemoveEnhancedFromConfig(MyItemInfo, true);
|
||||
if (iexists == null) MyItemInfo.RemoveEnhancedFromConfig(true);
|
||||
}
|
||||
myRTB.Clear();
|
||||
myVFG.Clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user