The shortcuts editor relies on the number of elements in the Action enum to determine the total amount of shortcut rows. Fixes: #1421
mentioned in commit f0fcf240