From 5d9aa3725bc9dbb2eae612d69fd13a5543e9818a Mon Sep 17 00:00:00 2001 From: John Date: Tue, 24 Aug 2021 14:04:37 +0000 Subject: [PATCH] B2021-080 Set flag to save RO values changes when the text changes --- PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.cs b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.cs index 6f1397f2..e2f8ed31 100644 --- a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.cs +++ b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.cs @@ -1087,6 +1087,9 @@ namespace ROEditor tbtnSaveAs.Enabled = true; tbtnCancel.Enabled = true; menuROSave.Enabled = tbtnSave.Enabled; + //B2021-080 set the mysavexml flag to true to ensure the text change will be saved + if (this.CurrentTextBox != null && this.CurrentTextBox.Parent !=null) + (this.CurrentTextBox.Parent as ctlXMLEdit).mysavexml = true; } private void LoadKids(TreeNode enode)