initial stab on debugging the tabs crash

This commit is contained in:
Michael Zanetti 2019-06-03 20:29:29 +02:00
parent 4e11026ea4
commit ea672abae6

View File

@ -70,12 +70,9 @@ Item {
id: mainRepeater
model: tabModel
delegate: StackView {
id: pageStack
delegate: Item {
height: swipeView.height
width: swipeView.width
objectName: "pageStack"
initialItem: Page {}
property var tabSettings: Settings {
category: "tabSettings" + index
@ -103,6 +100,13 @@ Item {
value: engine.connection.currentHost === null
}
StackView {
id: pageStack
objectName: "pageStack"
anchors.fill: parent
initialItem: Page {}
}
Component.onCompleted: {
setupPushNotifications();
if (autoConnectHost.length > 0) {