Browse Source

Connected tool operation events (again?)

Fixes Ultimaker/Cura#418
Jaime van Kessel 9 years ago
parent
commit
f8d677eee8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/CuraEngineBackend/CuraEngineBackend.py

+ 2 - 0
plugins/CuraEngineBackend/CuraEngineBackend.py

@@ -77,6 +77,8 @@ class CuraEngineBackend(Backend):
         self._message = None
 
         self.backendConnected.connect(self._onBackendConnected)
+        Application.getInstance().getController().toolOperationStarted.connect(self._onToolOperationStarted)
+        Application.getInstance().getController().toolOperationStopped.connect(self._onToolOperationStopped)
 
     ##  Get the command that is used to call the engine.
     #   This is usefull for debugging and used to actually start the engine