Revert "Only emit signal when the active extruder actually changes"

This reverts commit 4e8fb254f6.
This commit is contained in:
Jaime van Kessel 2017-01-25 16:20:10 +01:00
parent 06a42d98ee
commit 092f42ef28

View file

@ -96,9 +96,8 @@ class ExtruderManager(QObject):
# \param index The index of the new active extruder.
@pyqtSlot(int)
def setActiveExtruderIndex(self, index):
if self._active_extruder_index != index:
self._active_extruder_index = index
self.activeExtruderChanged.emit()
self._active_extruder_index = index
self.activeExtruderChanged.emit()
@pyqtProperty(int, notify = activeExtruderChanged)
def activeExtruderIndex(self):