B2014-071: save data after paste if pasted text contains a link.

This commit is contained in:
Kathy Ruffing 2015-09-02 10:55:24 +00:00
parent f71a0a2431
commit 2305c18f24

View File

@ -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("<NewID>")) _MyStepRTB.OnDoSaveContents(this, new EventArgs());
}
}