Replaced print job context menu

Contributes to CL-897, CL-1051
This commit is contained in:
Ian Paschal 2018-09-27 14:54:40 +02:00
parent 302f9a95b3
commit fc333d53c5
3 changed files with 253 additions and 696 deletions

View file

@ -21,7 +21,7 @@ Item {
// Loading skeleton
Rectangle {
visible: !extruderInfo.printCoreConfiguration;
visible: !printCoreConfiguration;
anchors.fill: parent;
radius: Math.round(width / 2);
color: UM.Theme.getColor("viewport_background");
@ -29,7 +29,7 @@ Item {
// Actual content
Rectangle {
visible: extruderInfo.printCoreConfiguration;
visible: printCoreConfiguration;
anchors.fill: parent;
radius: Math.round(width / 2);
border.width: UM.Theme.getSize("monitor_tab_thick_lining").width;
@ -44,7 +44,7 @@ Item {
Label {
anchors.centerIn: parent;
font: UM.Theme.getFont("default_bold");
text: printCoreConfiguration.position + 1;
text: printCoreConfiguration ? printCoreConfiguration.position + 1 : 0;
}
}
}