mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Removed getBackend from Cura (and onto Uranium)
This commit is contained in:
parent
0c6d0a0abb
commit
891aebc366
1 changed files with 0 additions and 7 deletions
|
@ -694,13 +694,6 @@ class CuraApplication(QtApplication):
|
||||||
|
|
||||||
qmlRegisterType(QUrl.fromLocalFile(path), "Cura", 1, 0, type_name)
|
qmlRegisterType(QUrl.fromLocalFile(path), "Cura", 1, 0, type_name)
|
||||||
|
|
||||||
## Get the backend of the application (the program that does the heavy lifting).
|
|
||||||
# The backend is also a QObject, which can be used from qml.
|
|
||||||
# \returns Backend \type{Backend}
|
|
||||||
@pyqtSlot(result = "QObject*")
|
|
||||||
def getBackend(self):
|
|
||||||
return self._backend
|
|
||||||
|
|
||||||
def onSelectionChanged(self):
|
def onSelectionChanged(self):
|
||||||
if Selection.hasSelection():
|
if Selection.hasSelection():
|
||||||
if self.getController().getActiveTool():
|
if self.getController().getActiveTool():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue