1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 12:03:18 +02:00

messageBar: force focus when showTypo button clicked

Change-Id: Ic3980ad9ecfa66ec9767aaa1fb18376f196fd012
This commit is contained in:
cberthet 2024-01-22 10:17:09 -05:00 committed by Capucine Berthet
parent 146dd21679
commit 4edc2d6369

View file

@ -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