Describe the bug
Cannot quick-paste last item in the list by pressing the corresponding digit
To Reproduce
"Search for Numbers" setting is disabled
Call a menu with global shortcut with command:
copyq:
menu("YourTabName")
![image](https://github.com/hluk/CopyQ/assets/1708294/7a47ba8f-c8e8-4d9f-8d21-27498e71e225)
4. Press the digit of the last item on the menu (assuming less than 10 items), which in this is 4
5. Instead of pasting, number 4 is put into the search box like so:
![image](https://github.com/hluk/CopyQ/assets/1708294/ed4ba904-1a5e-4532-885a-804ad2104083)
**Root cause guess**
I'm guessing you are using the 0-based index in the implementation for digit auto-activation or the threshold is off by 1 for some other reason in a conditional evaluation that gates digit activation...
**Version, OS and Environment**
- Application Version 7.1.0
- OS Windows
Describe the bug Cannot quick-paste last item in the list by pressing the corresponding digit![image](https://github.com/hluk/CopyQ/assets/1708294/75c48661-387d-409b-bfb2-70d45deb9276)
To Reproduce