summary refs log tree commit diff
diff options
context:
space:
mode:
authortastytea <tastytea@tastytea.de>2022-03-06 14:48:31 +0100
committertastytea <tastytea@tastytea.de>2022-03-06 19:58:12 +0100
commit5949173ba29d2d2825a82b1178bbfbee321c7759 (patch)
treeb1d609380f7bdc9788581cf4273c00aedea175a0
parentAllow explicit selection of SSO method (diff)
downloadnheko-5949173ba29d2d2825a82b1178bbfbee321c7759.tar.xz
Add function to force focus on InputDialog input field
# Previous commits:
#   9482ac4e Allow explicit selection of SSO method
#   ab05e2d8 Mobile message input (#962)
#   12a6da01 If you replace the txn id, replace a string the length of the txn id...
#   df6a5aab Fix clicking on images in replies
-rw-r--r--resources/qml/dialogs/InputDialog.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/qml/dialogs/InputDialog.qml b/resources/qml/dialogs/InputDialog.qml

index cf1474dc..a674c3fb 100644 --- a/resources/qml/dialogs/InputDialog.qml +++ b/resources/qml/dialogs/InputDialog.qml
@@ -21,6 +21,10 @@ ApplicationWindow { width: 350 height: fontMetrics.lineSpacing * 7 + function forceActiveFocus() { + statusInput.forceActiveFocus(); + } + Shortcut { sequence: StandardKey.Cancel onActivated: dbb.rejected()