Update printer information when switching global container stacks

This was just evaluated once during the creating of a USB connection. But you can switch out the printer without breaking/making a USB connection, so in that case we have to update it here.

Contributes to issue CURA-5749.
This commit is contained in:
Ghostkeeper 2018-10-12 14:55:13 +02:00
parent 287689a073
commit 99fc372b32
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
2 changed files with 10 additions and 6 deletions

View file

@ -172,7 +172,7 @@ class PrinterOutputModel(QObject):
def getController(self):
return self._controller
@pyqtProperty(str, notify=nameChanged)
@pyqtProperty(str, notify = nameChanged)
def name(self):
return self._name