mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 22:05:59 +08:00
Instantiate models instead of using the Models object
Since Models has been removed
This commit is contained in:
parent
207bdb3cd5
commit
5e226038d9
@ -294,7 +294,7 @@ UM.MainWindow
|
|||||||
|
|
||||||
Instantiator
|
Instantiator
|
||||||
{
|
{
|
||||||
model: UM.Models.extensionModel
|
model: UM.ExtensionModel { }
|
||||||
|
|
||||||
Menu
|
Menu
|
||||||
{
|
{
|
||||||
|
@ -25,7 +25,7 @@ Item {
|
|||||||
Repeater {
|
Repeater {
|
||||||
id: repeat
|
id: repeat
|
||||||
|
|
||||||
model: UM.Models.toolModel
|
model: UM.ToolModel { }
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
text: model.name
|
text: model.name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user