B2017-193 Added a Command Line flag /NoMRU that causes the Most Recently Used List not to be loaded. Sometimes PROMS will work for one user and not for another and the cause is something in the Most Recent Used List. This flag clears the Most Recent Used List
B2017-193 Error occured when a section in the MRU was being loaded as an iteminfo
This commit is contained in:
parent
94667ff849
commit
738ea466b6
@ -1429,8 +1429,10 @@ namespace VEPROMS
|
||||
|
||||
// See if any database 'changes' need done and do them:
|
||||
MakeDatabaseChanges();
|
||||
|
||||
_MyMRIList = MostRecentItemList.GetMRILst((System.Collections.Specialized.StringCollection)(Properties.Settings.Default["MRIList"]));
|
||||
if (Volian.Base.Library.VlnSettings.GetCommandFlag("NOMRU")) // B2017-193 Error occured when a section in the MRU was being loaded as an iteminfo
|
||||
_MyMRIList = new MostRecentItemList();
|
||||
else
|
||||
_MyMRIList = MostRecentItemList.GetMRILst((System.Collections.Specialized.StringCollection)(Properties.Settings.Default["MRIList"]));
|
||||
_MyMRIList.AfterRemove += new ItemInfoEvent(_MyMRIList_AfterRemove);
|
||||
SetupMRU();
|
||||
// if the user selected to "Remember Last" (was "Save Expanded") then use the MRU list to
|
||||
|
@ -2306,6 +2306,8 @@ namespace Volian.Print.Library
|
||||
while (ii != null)
|
||||
{
|
||||
SectionInfo supInfoSect = ii.ActiveSection as SectionInfo;
|
||||
// B2017-193 Error occured when a section in the MRU was being loaded as an iteminfo
|
||||
if (supInfoSect == null) supInfoSect = SectionInfo.Get(ii.ActiveSection.ItemID);
|
||||
// if there is a pagebreak on this step section step, quit looking for supinfos. The
|
||||
// break has to occur here.
|
||||
if (supInfoSect.StepSectPageBreaks.Contains(ii.ItemID)) return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user