public override void OnEnable() { base.OnEnable(); if (TreeChanges != null) { TreeChanges.ViewHasFocus = HasFocus; TreeChanges.UpdateIcons(Styles.FolderIcon); } AttachHandlers(Repository); ValidateCachedData(Repository); }