mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
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
This commit is contained in:
parent
9482ac4e7a
commit
5949173ba2
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ ApplicationWindow {
|
||||||
width: 350
|
width: 350
|
||||||
height: fontMetrics.lineSpacing * 7
|
height: fontMetrics.lineSpacing * 7
|
||||||
|
|
||||||
|
function forceActiveFocus() {
|
||||||
|
statusInput.forceActiveFocus();
|
||||||
|
}
|
||||||
|
|
||||||
Shortcut {
|
Shortcut {
|
||||||
sequence: StandardKey.Cancel
|
sequence: StandardKey.Cancel
|
||||||
onActivated: dbb.rejected()
|
onActivated: dbb.rejected()
|
||||||
|
|
Loading…
Reference in a new issue