mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-11-04 08:10:18 +08:00
modaltextedit: accept state as soon as focus changes
So that pressing tab will emit onAccepted and the dynamic text always show the correct value saved. Change-Id: I64326f1f836d611776bcfaf7993e6254e5d5aefe
This commit is contained in:
@ -99,6 +99,7 @@ Loader {
|
||||
onFocusChanged: {
|
||||
if (!focus) {
|
||||
root.editMode = false
|
||||
root.accepted()
|
||||
}
|
||||
activeChanged(root.editMode)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user