CristianHenzel / ClipIt

ClipIt clipboard manager for GTK+
https://github.com/CristianHenzel/ClipIt
GNU General Public License v3.0
653 stars 83 forks source link

Fix history index when selected from keyboard #167

Closed jgidi closed 3 years ago

jgidi commented 3 years ago

Hi!

The history items are listed on screen with numbers starting from 1, but they are counted from 0 when selected from keyboard. For this reason, if some number key "N" is pressed, the item shown as "N+1" is selected. (See issue: #155 )

This pull request fixes the issue, respecting the 1-based index shown on screen.

Cheers!

afelinczak commented 3 years ago

ppa updated