Commit bee08091 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

krunner: Always set cursor position to end when focusing search field

BUG: 435604
parent 11440647
...@@ -259,6 +259,7 @@ ColumnLayout { ...@@ -259,6 +259,7 @@ ColumnLayout {
if (!/[\x00-\x1F\x7F]/.test(event.text)) { if (!/[\x00-\x1F\x7F]/.test(event.text)) {
queryField.text += event.text; queryField.text += event.text;
} }
queryField.cursorPosition = queryField.text.length
queryField.focus = true; queryField.focus = true;
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment