mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:19:05 +08: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
@ -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…
x
Reference in New Issue
Block a user