Compare commits
9 Commits
cb4979d5bc
...
ae48ac0cae
Author | SHA1 | Date | |
---|---|---|---|
ae48ac0cae | |||
80d83da9c9 | |||
54e02e6263 | |||
c4af911f15 | |||
f9690ee772 | |||
623c6a7941 | |||
7a5129208c | |||
e15c56f1e2 | |||
5d808e436a |
Binary file not shown.
@ -3065,6 +3065,15 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
SaveEnhancedForSection(sourceSect, newenhSection, sed.Type);
|
||||
RefreshRelatedNode(SectionInfo.Get(newenhSection.ItemID));
|
||||
// B2024-023: when inserting a source section, the associated
|
||||
// enhanced section did not appear in tree view or in edit window (if it
|
||||
// was displayed in editor). Add to tree view and close the enhanced
|
||||
// procedure edit window. Note that closing of edit window was done to
|
||||
// be consistent on what happens upon delete of source w/ and enhanced
|
||||
// section.
|
||||
SectionInfo tmpsi = SectionInfo.Get(newenhSection.ItemID);
|
||||
RefreshRelatedNode(ProcedureInfo.Get(tmpsi.MyParent.ItemID));
|
||||
OnSectionShouldClose(this, new vlnTreeSectionInfoEventArgs(tmpsi, true));
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
@ -699,7 +699,7 @@ namespace Volian.Print.Library
|
||||
|
||||
try
|
||||
{
|
||||
if (File.Exists(outputFileName))
|
||||
if (File.Exists(outputFileName) && !OverWrite && !outputFileName.Contains("PageNumberPass") && !outputFileName.Contains("Foldout"))
|
||||
{
|
||||
if (!BaselineTesting && !SaveLinks) // B2024-031 don't do if creating PDF hyperlinks
|
||||
{
|
||||
@ -836,14 +836,6 @@ namespace Volian.Print.Library
|
||||
OnStatusChanged("Print " + myProcedure.DisplayNumber, PromsPrinterStatusType.Start);
|
||||
string outputFileName = pdfFolder + "\\" + Prefix + PDFFile; // RHM20150506 Multiline ItemID TextBox
|
||||
|
||||
if (!OverWrite && File.Exists(outputFileName))
|
||||
{
|
||||
if (MessageBox.Show(outputFileName + " exists. Overwrite file?", "File Exists", MessageBoxButtons.YesNo) == DialogResult.No)
|
||||
{
|
||||
ProfileTimer.Pop(profileDepth);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
string retval = PrintProcedureOrFoldout(myProcedure, null, outputFileName, makePlacekeeper, makeContinuousActionSummary, makeTimeCriticalAction);
|
||||
ProfileTimer.Pop(profileDepth);
|
||||
return retval;
|
||||
|
Loading…
x
Reference in New Issue
Block a user