automatically clear the Most Recently Used list if opening a different database than last time (don’t prompt with dialog box)
This commit is contained in:
parent
8cc07a788f
commit
a23d075403
@ -186,8 +186,12 @@ namespace VEPROMS
|
||||
throw new Exception("Inconsistent Formats");
|
||||
if (!ItemAuditInfo.IsChangeManagerVersion())
|
||||
throw new Exception("Inconsistent Data");
|
||||
if (Database.LastDatabase != Database.SelectedDatabase)
|
||||
{
|
||||
Properties.Settings.Default.MRIList = null;
|
||||
Properties.Settings.Default.DefaultDB = Database.SelectedDatabase;
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
VETreeNode tn = VETreeNode.GetFolder(1);
|
||||
tv.Nodes.Add(tn);
|
||||
tv.NodePSI += new vlnTreeViewPSIEvent(tv_NodePSI);
|
||||
|
Loading…
x
Reference in New Issue
Block a user