C2015-022 Separate Windows Upgrade – new call to RemoveEnhancedFromConfig
This commit is contained in:
parent
e4866e4ecc
commit
d00ebcc35d
@ -232,7 +232,8 @@ namespace Volian.Controls.Library
|
|||||||
//myRTB.LastRtf = string.Empty;
|
//myRTB.LastRtf = string.Empty;
|
||||||
myVFG.Clear();
|
myVFG.Clear();
|
||||||
myPicBox.Image = null;
|
myPicBox.Image = null;
|
||||||
tvAudits.Nodes.Clear();
|
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)
|
if (MyItemInfo == null)
|
||||||
{
|
{
|
||||||
this.Cursor = Cursors.Default;
|
this.Cursor = Cursors.Default;
|
||||||
@ -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
|
// get id for step that is linked & see if it exists - if not, clear the enhanced config data
|
||||||
StepConfig sc = MyItemInfo.MyConfig as StepConfig;
|
StepConfig sc = MyItemInfo.MyConfig as StepConfig;
|
||||||
ItemInfo iexists = ItemInfo.Get(sc.MyEnhancedDocuments[0].ItemID);
|
ItemInfo iexists = ItemInfo.Get(sc.MyEnhancedDocuments[0].ItemID);
|
||||||
if (iexists == null) ItemInfo.RemoveEnhancedFromConfig(MyItemInfo, true);
|
if (iexists == null) MyItemInfo.RemoveEnhancedFromConfig(true);
|
||||||
}
|
}
|
||||||
myRTB.Clear();
|
myRTB.Clear();
|
||||||
myVFG.Clear();
|
myVFG.Clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user