parent
e617c8981f
commit
594983c889
|
@ -19,6 +19,16 @@ StatusStackModal {
|
||||||
|
|
||||||
property var privacyStore
|
property var privacyStore
|
||||||
|
|
||||||
|
onCurrentIndexChanged: {
|
||||||
|
//StatusAnimatedStack doesn't handle well items' visibility,
|
||||||
|
//keeping this solution for now until #8024 is fixed
|
||||||
|
if (currentIndex === 2) {
|
||||||
|
confirmFirstWord.forceInputFocus();
|
||||||
|
} else if (currentIndex === 3) {
|
||||||
|
confirmSecondWord.forceInputFocus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
id: d
|
id: d
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,10 @@ StatusScrollView {
|
||||||
|
|
||||||
default property alias content: column.children
|
default property alias content: column.children
|
||||||
|
|
||||||
|
function forceInputFocus() {
|
||||||
|
inputText.input.edit.forceActiveFocus();
|
||||||
|
}
|
||||||
|
|
||||||
implicitHeight: 520
|
implicitHeight: 520
|
||||||
clip: false
|
clip: false
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue