/// <summary> /// this is needed because _revsionGrid is null when TranslationApp is called /// </summary> /// <param name="revGridCommands"></param> /// <returns></returns> private string GetShortcutKeyDisplayStringFromRevisionGridIfAvailable(GitUI.RevisionGrid.Commands revGridCommands) { if (_revisionGrid == null) { return(null); } return(_revisionGrid.GetShortcutKeys(revGridCommands).ToShortcutKeyDisplayString()); }
/// <summary> /// this is needed because _revsionGrid is null when TranslationApp is called /// </summary> private string GetShortcutKeyDisplayStringFromRevisionGridIfAvailable(RevisionGrid.Commands revGridCommands) { return(_revisionGrid?.GetShortcutKeys(revGridCommands).ToShortcutKeyDisplayString()); }