zdenop / qt-box-editor

QT Box Editor of tesseract-ocr box files
https://zdenop.github.io/qt-box-editor/
Apache License 2.0
173 stars 65 forks source link

fixing bug: move to next row after deleting a row #47

Closed ecraven closed 9 years ago

ecraven commented 9 years ago

afterRow is only calculated after indexes is empty. fix that.

zdenop commented 9 years ago

Can you please give some details for your pull request? In my test case this change have no effect.

ecraven commented 9 years ago

When I compiled the original version, hitting 'DEL' with one row selected (to remove that element) always dropped me to the very bottom of the list. This fixes that for me.