mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
||||||
|
|
||||||
# Returns the unique configurations of the printers within this output device
|
# Returns the unique configurations of the printers within this output device
|
||||||
@pyqtProperty("QVariantList", notify = uniqueConfigurationsChanged)
|
@pyqtProperty("QVariantList", notify = uniqueConfigurationsChanged)
|
||||||
def uniqueConfigurations(self) -> List[ConfigurationModel]:
|
def uniqueConfigurations(self) -> List["ConfigurationModel"]:
|
||||||
return self._unique_configurations
|
return self._unique_configurations
|
||||||
|
|
||||||
def _updateUniqueConfigurations(self) -> None:
|
def _updateUniqueConfigurations(self) -> None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue