mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Don't notify qml of update if no configurations changed
This might be the cause of #11608, but i'm not entirely sure. Whatever the case, it's also not going to hurt checking this...
This commit is contained in:
parent
62b102cc74
commit
438871648b
1 changed files with 3 additions and 2 deletions
|
@ -350,5 +350,6 @@ class PrinterOutputModel(QObject):
|
|||
self.availableConfigurationsChanged.emit()
|
||||
|
||||
def setAvailableConfigurations(self, new_configurations: List[PrinterConfigurationModel]) -> None:
|
||||
self._available_printer_configurations = new_configurations
|
||||
self.availableConfigurationsChanged.emit()
|
||||
if self._available_printer_configurations != new_configurations:
|
||||
self._available_printer_configurations = new_configurations
|
||||
self.availableConfigurationsChanged.emit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue