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

@@ -515,9 +515,9 @@ namespace Volian.Controls.Library
}
private void SetButtonAndMenuEnabling(bool docontextmenus)
{
if (_MyStepRTB == null) return;
if (_MyStepRTB.FieldToEdit != E_FieldToEdit.StepText)
return; // No need to change menu that does not get used
if (_MyStepRTB == null) return;
DocVersionInfo dvi = MyEditItem.MyItemInfo.MyProcedure.ActiveParent as DocVersionInfo;
if (dvi == null) return;
if (dvi.VersionType > 127 || MyEditItem.MyStepPanel.VwMode == E_ViewMode.View)