Refactoring; no longer use "Printer" to identify CuraApplication

This commit is contained in:
Jaime van Kessel 2017-03-30 20:19:05 +02:00
parent e0c77231e0
commit f82aecb7ca
14 changed files with 59 additions and 49 deletions

View file

@ -190,7 +190,7 @@ UM.Dialog
anchors.right: parent.right
onClicked:
{
Printer.discardOrKeepProfileChangesClosed("discard")
CuraApplication.discardOrKeepProfileChangesClosed("discard")
base.hide()
}
isDefault: true
@ -204,7 +204,7 @@ UM.Dialog
anchors.rightMargin: UM.Theme.getSize("default_margin").width
onClicked:
{
Printer.discardOrKeepProfileChangesClosed("keep")
CuraApplication.discardOrKeepProfileChangesClosed("keep")
base.hide()
}
}