protected bool OnUpdateWritingSystem(object args)
{
TMItemProperties itemProps = args as TMItemProperties;
if (itemProps != null)
{
itemProps.Enabled = (FwEditingHelper != null &&
FwEditingHelper.CurrentSelection != null &&
FwEditingHelper.CurrentSelection.Selection.IsEditable);
m_writingSystemSelector.Enabled = itemProps.Enabled;
itemProps.Update = true;
return true;
}
return false;
}