Also connect the objectsModel to the selectionChanged signal

This commit is contained in:
Jaime van Kessel 2019-07-22 10:27:19 +02:00
parent 91651a34d4
commit c3166703b4

View file

@ -50,6 +50,7 @@ class ObjectsModel(ListModel):
Application.getInstance().getController().getScene().sceneChanged.connect(self._updateSceneDelayed) Application.getInstance().getController().getScene().sceneChanged.connect(self._updateSceneDelayed)
Application.getInstance().getPreferences().preferenceChanged.connect(self._updateDelayed) Application.getInstance().getPreferences().preferenceChanged.connect(self._updateDelayed)
Selection.selectionChanged.connect(self._updateDelayed)
self._update_timer = QTimer() self._update_timer = QTimer()
self._update_timer.setInterval(200) self._update_timer.setInterval(200)