mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
T466: Added pausing of backend work
This commit is contained in:
parent
b9514527dd
commit
65f3495a29
5 changed files with 28 additions and 8 deletions
|
|
@ -14,6 +14,7 @@ Rectangle {
|
|||
|
||||
property real progress: UM.Backend.progress;
|
||||
property int backendState: UM.Backend.state;
|
||||
property bool backendPaused: UM.Backend.paused;
|
||||
property bool activity: Printer.getPlatformActivity;
|
||||
property int totalHeight: childrenRect.height + UM.Theme.getSize("default_margin").height
|
||||
property string fileBaseName
|
||||
|
|
@ -24,6 +25,11 @@ Rectangle {
|
|||
return catalog.i18nc("@label:PrintjobStatus", "Please load a 3d model");
|
||||
}
|
||||
|
||||
if (backendPaused)
|
||||
{
|
||||
return catalog.i18nc("@label:PrintjobStatus", "Slicing temporary disabled");
|
||||
}
|
||||
|
||||
switch(base.backendState)
|
||||
{
|
||||
case 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue