mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:45:55 +08:00
Also connect the objectsModel to the selectionChanged signal
This commit is contained in:
parent
91651a34d4
commit
c3166703b4
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user