Quick GUI: Focus text fields in dialogs
This commit is contained in:
parent
f86fcefc03
commit
b12b7a7b24
|
@ -108,6 +108,7 @@ Kirigami.ScrollablePage {
|
||||||
this.entryDesc = entryType + entryName
|
this.entryDesc = entryType + entryName
|
||||||
this.newEntryName = entryName
|
this.newEntryName = entryName
|
||||||
}
|
}
|
||||||
|
entryNameTextField.forceActiveFocus()
|
||||||
this.open()
|
this.open()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,6 +74,7 @@ BasicDialog {
|
||||||
this.instruction = instruction
|
this.instruction = instruction
|
||||||
clear()
|
clear()
|
||||||
open()
|
open()
|
||||||
|
passwordTextField.forceActiveFocus()
|
||||||
}
|
}
|
||||||
|
|
||||||
function askForExistingPassword(instruction) {
|
function askForExistingPassword(instruction) {
|
||||||
|
|
Loading…
Reference in New Issue