Skip to content

Commit

Permalink
RevisionGridControl: Create menu after loading Hotkeys (gitextensions…
Browse files Browse the repository at this point in the history
  • Loading branch information
mstv authored Mar 20, 2022
1 parent 0b915c2 commit 2cf8320
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions GitUI/UserControls/RevisionGrid/RevisionGridControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ public RevisionGridControl()
copyToClipboardToolStripMenuItem.SetRevisionFunc(() => GetSelectedRevisions());

MenuCommands = new RevisionGridMenuCommands(this);
MenuCommands.CreateOrUpdateMenuCommands();
ReloadHotkeys();
HotkeysEnabled = true;

// fill View context menu from MenuCommands
FillMenuFromMenuCommands(MenuCommands.ViewMenuCommands, viewToolStripMenuItem);
Expand All @@ -215,9 +216,6 @@ public RevisionGridControl()
// Apply checkboxes changes also to FormBrowse main menu
MenuCommands.TriggerMenuChanged();

Hotkeys = HotkeySettingsManager.LoadHotkeys(HotkeySettingsName);
HotkeysEnabled = true;

_gridView.ShowCellToolTips = false;
_gridView.AuthorHighlighting = _authorHighlighting;

Expand Down

0 comments on commit 2cf8320

Please sign in to comment.