CURA-5128 Modify the GCode parser to use a stream instead of a file so

we can reuse methods for the GCodeGZReader.
This commit is contained in:
Diego Prado Gesto 2018-03-23 17:14:53 +01:00
parent c2888529cb
commit dd0d0d20e9
4 changed files with 135 additions and 131 deletions

View file

@ -170,6 +170,7 @@ class MachineErrorChecker(QObject):
self._application.callLater(self._checkStack)
def _setResult(self, result: bool):
return
if result != self._has_errors:
self._has_errors = result
self.hasErrorUpdated.emit()