B2018-039 Fixes issue where you could not print a second procedure if you left a procedure open in the PDF view. Bug was a result of fix for supplement information (B2018-029)
This commit is contained in:
parent
97b3281553
commit
c040b742b2
@ -158,7 +158,8 @@ namespace VEPROMS
|
|||||||
DateTime tStart = DateTime.Now;
|
DateTime tStart = DateTime.Now;
|
||||||
if (!CancelStop) PromsPrinter.ClearTransPageNumProblems();
|
if (!CancelStop) PromsPrinter.ClearTransPageNumProblems();
|
||||||
// B2018-029: delete any pdf files related to printing supplemental information facing pages:
|
// B2018-029: delete any pdf files related to printing supplemental information facing pages:
|
||||||
string[] filePaths = System.IO.Directory.GetFiles(Volian.Base.Library.VlnSettings.TemporaryFolder, "*.pdf");
|
// B2018-039 Delete only pdf files that begin with "SupInof"
|
||||||
|
string[] filePaths = System.IO.Directory.GetFiles(Volian.Base.Library.VlnSettings.TemporaryFolder, "SupInfo*.pdf");
|
||||||
foreach (string filePath in filePaths) System.IO.File.Delete(filePath);
|
foreach (string filePath in filePaths) System.IO.File.Delete(filePath);
|
||||||
|
|
||||||
do
|
do
|
||||||
@ -252,4 +253,4 @@ namespace VEPROMS
|
|||||||
btnCancel.Enabled = false;
|
btnCancel.Enabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user