CURA-5035: Clean-up

This commit is contained in:
Ian Paschal 2018-04-12 14:03:53 +02:00
parent 6e9f7174b6
commit e13c45daee
19 changed files with 185 additions and 179 deletions

View file

@ -18,7 +18,7 @@ Item
anchors.bottom: parent.bottom
Label
{
visible: manager.restartRequired
visible: toolbox.restartRequired
text: "You will need to restart Cura before changes in plugins have effect."
height: UM.Theme.getSize("base_unit").height * 2
verticalAlignment: Text.AlignVCenter
@ -39,9 +39,9 @@ Item
right: closeButton.left
rightMargin: UM.Theme.getSize("default_margin").width
}
visible: manager.restartRequired
visible: toolbox.restartRequired
iconName: "dialog-restart"
onClicked: manager.restart()
onClicked: toolbox.restart()
style: ButtonStyle
{
background: Rectangle
@ -72,9 +72,9 @@ Item
iconName: "dialog-close"
onClicked:
{
if ( manager.isDownloading )
if ( toolbox.isDownloading )
{
manager.cancelDownload()
toolbox.cancelDownload()
}
base.close();
}