Only start change timer if there is a global stack

This commit is contained in:
Jaime van Kessel 2016-09-28 16:41:04 +02:00
parent dc6e4f172e
commit 78b052f66c

View file

@ -87,7 +87,8 @@ class BuildVolume(SceneNode):
Application.getInstance().getMachineManager().activeQualityChanged.connect(self._onStackChanged)
def _onSceneChanged(self, source):
self._change_timer.start()
if self._global_container_stack:
self._change_timer.start()
def _onChangeTimerFinished(self):
root = Application.getInstance().getController().getScene().getRoot()