Merge pull request #7317 from spycrab/qt_fix_mpbtn_crash Qt/MappingButton: Fix crash when exiting during input detection