mirror of https://git.suyu.dev/suyu/suyu
qt_software_keyboard: Fix infinite loop when moving between buttons
There was a bug where, when using the numeric keyboard, moving between buttons resulted in an infinite loop, resulting in a stuck state. This was due to prev_button being the only one enabled in that row or column, causing the condition in the while loop to always be true. To fix this, detect whether we have returned to that initial row/column and break out of the loop.merge-requests/60/head
parent
bee823db3a
commit
d7d09355e7
Loading…
Reference in New Issue