mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Add a dialog that shows the engine log
This commit is contained in:
parent
52d4424635
commit
1118219f7d
4 changed files with 65 additions and 0 deletions
|
@ -239,6 +239,15 @@ class PrinterApplication(QtApplication):
|
|||
job.finished.connect(lambda j: node.setMeshData(j.getResult()))
|
||||
job.start()
|
||||
|
||||
@pyqtSlot(result=str)
|
||||
def getEngineLog(self):
|
||||
log = ""
|
||||
|
||||
for entry in self.getBackend().getLog():
|
||||
log += entry.decode()
|
||||
|
||||
return log
|
||||
|
||||
def _onActiveMachineChanged(self):
|
||||
machine = self.getActiveMachine()
|
||||
if machine:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue