mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 15:27:53 -06:00
ContainerStackModel is now used for listing all added machines
CURA-1278
This commit is contained in:
parent
27f31a19b5
commit
9fcc3930ff
1 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue