From 2cf164c4458a3d0d8f7f994bc0aee2612c591f05 Mon Sep 17 00:00:00 2001 From: mschill Date: Thu, 31 Oct 2024 15:11:04 -0400 Subject: [PATCH] =?UTF-8?q?C2024-035=20RO=20Editor=20=E2=80=93=20Enhanceme?= =?UTF-8?q?nt=20to=20Handle=20renaming=20of=20Setpoint=20Value.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RODefFrm.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RODefFrm.cs b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RODefFrm.cs index 8c2a5c57..9efa06a8 100644 --- a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RODefFrm.cs +++ b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RODefFrm.cs @@ -1251,6 +1251,9 @@ namespace ROEditor { tbMenuVal.Text = tbMenuVal.Text.Replace($"<{origname}>", $"<{newname}>"); tbRetVal.Text = tbRetVal.Text.Replace($"<{origname}>", $"<{newname}>"); + //CSM-C2024-035 This is needed for items like Setpoint Value that may have commas with field lengths in them + tbMenuVal.Text = tbMenuVal.Text.Replace($"<{origname},", $"<{newname},"); + tbRetVal.Text = tbRetVal.Text.Replace($"<{origname},", $"<{newname},"); } } else -- 2.47.2