mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:55:54 +08:00
Only start change timer if there is a global stack
This commit is contained in:
parent
dc6e4f172e
commit
78b052f66c
@ -87,7 +87,8 @@ class BuildVolume(SceneNode):
|
|||||||
Application.getInstance().getMachineManager().activeQualityChanged.connect(self._onStackChanged)
|
Application.getInstance().getMachineManager().activeQualityChanged.connect(self._onStackChanged)
|
||||||
|
|
||||||
def _onSceneChanged(self, source):
|
def _onSceneChanged(self, source):
|
||||||
self._change_timer.start()
|
if self._global_container_stack:
|
||||||
|
self._change_timer.start()
|
||||||
|
|
||||||
def _onChangeTimerFinished(self):
|
def _onChangeTimerFinished(self):
|
||||||
root = Application.getInstance().getController().getScene().getRoot()
|
root = Application.getInstance().getController().getScene().getRoot()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user