From 2305c18f242774a9de96879911190b88c2b691f3 Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 2 Sep 2015 10:55:24 +0000 Subject: [PATCH] B2014-071: save data after paste if pasted text contains a link. --- PROMS/Volian.Controls.Library/StepTabRibbon.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index c5ed00c7..bd524525 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -1568,6 +1568,8 @@ namespace Volian.Controls.Library tmpForLink = tmpForLink.Replace(@"\u8212 ", @"-"); // Replace EM Dash with hyphen tmpForLink = tmpForLink.Replace(@"\u8211 ", @"-"); // Replace EN Dash with hyphen myRtb.SelectedRtf = tmpForLink; + // Fix for B2014-071: if link, save after paste so that goto's don't crash (grid & step run through this code) + if (tmpForLink.Contains("")) _MyStepRTB.OnDoSaveContents(this, new EventArgs()); } }