mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:06:00 +08:00
ContainerStackModel is now used for listing all added machines
CURA-1278
This commit is contained in:
parent
27f31a19b5
commit
9fcc3930ff
@ -5,7 +5,7 @@ import QtQuick 2.2
|
|||||||
import QtQuick.Controls 1.1
|
import QtQuick.Controls 1.1
|
||||||
import QtQuick.Controls.Styles 1.1
|
import QtQuick.Controls.Styles 1.1
|
||||||
|
|
||||||
import UM 1.1 as UM
|
import UM 1.2 as UM
|
||||||
|
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
@ -71,7 +71,10 @@ Item
|
|||||||
id: machineSelectionMenu
|
id: machineSelectionMenu
|
||||||
Instantiator
|
Instantiator
|
||||||
{
|
{
|
||||||
// model: UM.MachineInstancesModel { }
|
model: UM.ContainerStacksModel
|
||||||
|
{
|
||||||
|
filter: {"type": "machine"}
|
||||||
|
}
|
||||||
MenuItem
|
MenuItem
|
||||||
{
|
{
|
||||||
text: model.name;
|
text: model.name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user