fixes to change manager

This commit is contained in:
Rich
2012-01-23 13:56:56 +00:00
parent 21ba5556f7
commit e428553e06
2 changed files with 10 additions and 1 deletions

View File

@@ -871,6 +871,11 @@ namespace Volian.Controls.Library
#endregion
#region AddRtfTextAndStyles
private string _LastRtf = "";
public string LastRtf
{
get { return _LastRtf; }
set { _LastRtf = value; }
}
private bool _lastReadOnly = false;
private void AddRtfText(string txt)
{
@@ -1268,6 +1273,10 @@ namespace Volian.Controls.Library
// 'dotnetbar' when text was NOT Changed. So _IsDirty was made into
// a property and compared original rtf versus current richtextbox's
// rtf.
// the below 2 lines were added to solve the problem with the change manager detail not showing the text of an audit when the same audit
//was selected twice
if (Text == string.Empty)
LastRtf = string.Empty;
FindAllLinks();
}
public void StepRTB_ContentsResized(object sender, ContentsResizedEventArgs e)