Equation Editor interface support
This commit is contained in:
@@ -3106,10 +3106,10 @@ namespace VEPROMS
|
||||
if (_LastStepRTB != null)
|
||||
{
|
||||
infotabRO.Visible = _LastStepRTB.MyItemInfo.MyDocVersion.DocVersionAssociationCount > 0;
|
||||
infotabTransition.Visible = !_CurrentItem.IsFigure;
|
||||
infotabTransition.Visible = !_CurrentItem.IsFigure && !_CurrentItem.IsRtfRaw;
|
||||
// don't allow ro insert for a non-ro figure. First check that it is visible (from above line of code),
|
||||
// and allow for non-figures or ro figures (for replace of existing ro figures)
|
||||
infotabRO.Visible = infotabRO.Visible && (!_CurrentItem.IsFigure || (_CurrentItem.IsFigure && _CurrentItem.MyContent.MyImage == null));
|
||||
infotabRO.Visible = infotabRO.Visible && (!_CurrentItem.IsRtfRaw && (!_CurrentItem.IsFigure || (_CurrentItem.IsFigure && _CurrentItem.MyContent.MyImage == null)));
|
||||
displayRO.Enabled = _LastStepRTB.EditMode || _LastStepRTB.IsRoTable;
|
||||
displayTransition.Enabled = _LastStepRTB.EditMode;
|
||||
}
|
||||
|
Reference in New Issue
Block a user