Solved (with an ugly fix) that after loading some projects, 'Slicing...' appears without doing anything. CURA-1263

This commit is contained in:
Jack Ha 2016-12-14 16:52:49 +01:00
parent a6194aa2cf
commit a9a9390aa6
5 changed files with 13 additions and 1 deletions

View file

@ -144,6 +144,11 @@ class WorkspaceDialog(QObject):
if key in self._result:
self._result[key] = strategy
## Close the backend: otherwise one could end up with "Slicing..."
@pyqtSlot()
def closeBackend(self):
Application.getInstance().getBackend().close()
def setMaterialConflict(self, material_conflict):
self._has_material_conflict = material_conflict
self.materialConflictChanged.emit()