mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-29 15:25:02 +08:00
Mark PrinterOutputDevice without printer type as invalid
Since self._printer_type was defined as an empty string and the setter only accepts strings, it could never be None
This commit is contained in:
parent
c81689d233
commit
c6fa47e584
@ -54,7 +54,7 @@ class ConfigurationModel(QObject):
|
||||
for configuration in self._extruder_configurations:
|
||||
if configuration is None:
|
||||
return False
|
||||
return self._printer_type is not None
|
||||
return self._printer_type != ""
|
||||
|
||||
def __str__(self):
|
||||
message_chunks = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user