Load a number of dialogs on demand instead of always

Knocks off 0.4 sec of booting.
This commit is contained in:
Jaime van Kessel 2020-07-10 13:23:30 +02:00
parent e000efe493
commit b1cd5960b8
No known key found for this signature in database
GPG key ID: 3710727397403C91
3 changed files with 3 additions and 1 deletions

View file

@ -866,6 +866,7 @@ UM.MainWindow
title: catalog.i18nc("@title:window", "What's New")
model: CuraApplication.getWhatsNewPagesModel()
progressBarVisible: false
visible: false
}
Connections

View file

@ -40,6 +40,7 @@ Window
id: wizardPanel
anchors.fill: parent
model: dialog.model
visible: dialog.visible
}
// Close this dialog when there's no more page to show

View file

@ -71,7 +71,7 @@ Item
right: parent.right
}
source: base.pageUrl
enabled: base.visible
active: base.visible
}
}
}