[SailfishDevel] TextField.forceActiveFocus() works only every second time
michfu at gmx.at
Thu Jun 22 09:09:51 UTC 2017
I got a textinput (e.g. TextField) in which the text gets manipulated by
pushing a button. After the manipulation the input should get back
focus. I'm trying it like this:
text: qsTr("Hello Sailors")
ta.text += "hello"
But it only works every second time. How could I workaround this?
More information about the Devel