Stop Spacebar key-press repeating previous click action


After I have clicked on a button or a slider in QGC if I press spacebar the click-acion is repeated. This potentially can be dangerous if your laptop have gone “dark screen” and you have reactivated it by pressing a spacebar key.

I was trying for an embarrasing amount of time to find where in the code this strange logic is implemented but could not find it.

I would greatly appreciate any help with this matter.

Thank you.

I would Google for Qt related space bar click things:

Does that help? And a pull request for that would likely be welcome, it sounds like an unexpected nuisance.