Skip to content
Snippets Groups Projects
Commit 4edc2d63 authored by Capucine Berthet's avatar Capucine Berthet Committed by Capucine Berthet
Browse files

messageBar: force focus when showTypo button clicked

Change-Id: Ic3980ad9ecfa66ec9767aaa1fb18376f196fd012
parent 146dd216
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,10 @@ RowLayout { ...@@ -56,6 +56,10 @@ RowLayout {
height: rectHeight + (dataTransferSendContainer.visible ? dataTransferSendContainer.height + (!showTypo ? 40 : - marginSize) : 0 ) height: rectHeight + (dataTransferSendContainer.visible ? dataTransferSendContainer.height + (!showTypo ? 40 : - marginSize) : 0 )
onShowTypoChanged: {
messageBarTextArea.forceActiveFocus();
}
Rectangle { Rectangle {
Layout.preferredHeight: parent.height Layout.preferredHeight: parent.height
Layout.preferredWidth: childrenRect.width Layout.preferredWidth: childrenRect.width
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment