diff options
-rw-r--r-- | tests/auto/inputpanel/data/tst_inputpanel.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/inputpanel/data/tst_inputpanel.qml b/tests/auto/inputpanel/data/tst_inputpanel.qml index 89bd1d70..61d6f509 100644 --- a/tests/auto/inputpanel/data/tst_inputpanel.qml +++ b/tests/auto/inputpanel/data/tst_inputpanel.qml @@ -1048,7 +1048,7 @@ Rectangle { // Remove Jamos one by one. // The number of removed characters must match to the number of Jamos entered. - for (; inputIndex >= 0; inputIndex--) { + for (inputIndex = data.inputSequence.length - 1; inputIndex >= 0; inputIndex--) { compare(textInput.text, intermediateResult.pop()) inputPanel.virtualKeyClick(Qt.Key_Backspace) } |