mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 02:59:02 +08:00
Load a number of dialogs on demand instead of always
Knocks off 0.4 sec of booting.
This commit is contained in:
parent
e000efe493
commit
b1cd5960b8
@ -866,6 +866,7 @@ UM.MainWindow
|
||||
title: catalog.i18nc("@title:window", "What's New")
|
||||
model: CuraApplication.getWhatsNewPagesModel()
|
||||
progressBarVisible: false
|
||||
visible: false
|
||||
}
|
||||
|
||||
Connections
|
||||
|
@ -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
|
||||
|
@ -71,7 +71,7 @@ Item
|
||||
right: parent.right
|
||||
}
|
||||
source: base.pageUrl
|
||||
enabled: base.visible
|
||||
active: base.visible
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user