Просмотр исходного кода

Fix SimulationView onSceneChanged signal binding

CURA-5130
Lipu Fei 7 лет назад
Родитель
Сommit
da00bdf9c3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      plugins/SimulationView/SimulationView.py

+ 1 - 1
plugins/SimulationView/SimulationView.py

@@ -74,7 +74,7 @@ class SimulationView(View):
 
         self._global_container_stack = None
         self._proxy = SimulationViewProxy()
-        self._controller.getScene().getRoot().childrenChanged.connect(self._onSceneChanged)
+        self._controller.getScene().sceneChanged.connect(self._onSceneChanged)
 
         self._resetSettings()
         self._legend_items = None