Merge pull request #10800 from Pokechu22/registerwidget-crash RegisterWidget: Fix crash when right-clicking when there is no selected cell