mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-29 03:51:59 +08:00
Fix unknown model
My IDE didn't indicate this because it is imported fine, but only if MYPY. Contributes to issue CURA-5330.
This commit is contained in:
parent
b3f73594bf
commit
a98b4fe35c
@ -200,7 +200,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
||||
|
||||
# Returns the unique configurations of the printers within this output device
|
||||
@pyqtProperty("QVariantList", notify = uniqueConfigurationsChanged)
|
||||
def uniqueConfigurations(self) -> List[ConfigurationModel]:
|
||||
def uniqueConfigurations(self) -> List["ConfigurationModel"]:
|
||||
return self._unique_configurations
|
||||
|
||||
def _updateUniqueConfigurations(self) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user