From 327aae687a068a290ca0eea7c307da7edef84d9f Mon Sep 17 00:00:00 2001 From: mschill Date: Fri, 24 Oct 2025 11:12:39 -0400 Subject: [PATCH] B2025-053 Printing from Ribbon while Edits in progress --- PROMS/Volian.Controls.Library/StepTabRibbon.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index 8a4a5f47..6e31dae5 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -4190,15 +4190,19 @@ namespace Volian.Controls.Library if (oring == eEventSource.Keyboard) _OringFlg = 1; + int selectedSlave = MyItemInfo.MyProcedure.ProcedureConfig.SelectedSlave; if (MyItemInfo == null) return; // if creating a pdf before rtb exists, return; if (MyEditItem != null) MyEditItem.SaveCurrentAndContents(); + MyItemInfo.MyProcedure.ProcedureConfig.SelectedSlave = selectedSlave; OnPrintRequest(new StepTabRibbonEventArgs(MyItemInfo.MyProcedure, _OringFlg), 0); } private void btnPdfQuickCreate_Click(object sender, EventArgs e) { + int selectedSlave = MyItemInfo.MyProcedure.ProcedureConfig.SelectedSlave; if (MyItemInfo == null) return; // if creating a pdf before rtb exists, return; if (MyEditItem != null) MyEditItem.SaveCurrentAndContents(); + MyItemInfo.MyProcedure.ProcedureConfig.SelectedSlave = selectedSlave; OnPrintRequest(new StepTabRibbonEventArgs(MyItemInfo.MyProcedure, _OringFlg), 1); }