Since the user is very unlikely to set `ESC` as the shortcut, it's better that the usual way to close a dialog still works. STEPS TO REPRODUCE 1. In the window menu, select `set window shortcut`. 2. Press `ESC`. OBSERVED RESULT The shortcut is set to `ESC`. EXPECTED RESULT The dialog is closed. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.245.0 Qt Version: 6.6.0 Kernel Version: 6.6.2-arch1-1 (64-bit) Graphics Platform: offscreen Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics Memory: 13.5 GiB of RAM Graphics Processor: AMD Radeon Graphics
Some users actually want to set it to ESC...