mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:58:59 +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")
|
title: catalog.i18nc("@title:window", "What's New")
|
||||||
model: CuraApplication.getWhatsNewPagesModel()
|
model: CuraApplication.getWhatsNewPagesModel()
|
||||||
progressBarVisible: false
|
progressBarVisible: false
|
||||||
|
visible: false
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections
|
Connections
|
||||||
|
@ -40,6 +40,7 @@ Window
|
|||||||
id: wizardPanel
|
id: wizardPanel
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
model: dialog.model
|
model: dialog.model
|
||||||
|
visible: dialog.visible
|
||||||
}
|
}
|
||||||
|
|
||||||
// Close this dialog when there's no more page to show
|
// Close this dialog when there's no more page to show
|
||||||
|
@ -71,7 +71,7 @@ Item
|
|||||||
right: parent.right
|
right: parent.right
|
||||||
}
|
}
|
||||||
source: base.pageUrl
|
source: base.pageUrl
|
||||||
enabled: base.visible
|
active: base.visible
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user