Fixed bug B2017-003 which required you to exit proms after doing an import so that doing a goto on a transition (in a table) would work properly
This commit is contained in:
parent
4744bcd450
commit
3c471efd9f
@ -2624,6 +2624,10 @@ namespace VEPROMS
|
||||
if (content.MyGrid != null && content.MyGrid.Data != "")
|
||||
content.MyGrid.Data = content.MyGrid.Data.Replace(lookfor, replacewith);
|
||||
content.FixTransitionText(TransitionInfo.Get(tt.TransitionID));
|
||||
// B2017=003 make sure any grid changes are saved.
|
||||
// done here because FixTransitionText() could update the transitions in the grid
|
||||
if (content.MyGrid != null && content.MyGrid.Data != "")
|
||||
content.MyGrid.Save();
|
||||
content.Save();
|
||||
}
|
||||
else
|
||||
@ -2699,6 +2703,10 @@ namespace VEPROMS
|
||||
forceConvertToText = (sc.SubSection_Edit == "N");
|
||||
}
|
||||
cc.FixTransitionText(TransitionInfo.Get(tt.TransitionID), forceConvertToText);
|
||||
// B2017=003 make sure any grid changes are saved.
|
||||
// done here because FixTransitionText() could update the transitions in the grid
|
||||
if (cc.MyGrid != null && cc.MyGrid.Data != "")
|
||||
cc.MyGrid.Save();
|
||||
cc.Save();
|
||||
nd.InnerText = "done";
|
||||
}
|
||||
@ -2757,6 +2765,10 @@ namespace VEPROMS
|
||||
// forceConvertToText = true;
|
||||
//}
|
||||
cc.FixTransitionText(TransitionInfo.Get(tt.TransitionID), forceConvertToText);
|
||||
// B2017=003 make sure any grid changes are saved.
|
||||
// done here because FixTransitionText() could update the transitions in the grid
|
||||
if (cc.MyGrid != null && cc.MyGrid.Data != "")
|
||||
cc.MyGrid.Save();
|
||||
cc.Save();
|
||||
nd.InnerText = "done";
|
||||
_DidConvertTransitionsToText |= forceConvertToText; // B2016-225 - notify user when transitions are converted to text
|
||||
|
Loading…
x
Reference in New Issue
Block a user