mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Also add tests for configurationModel
This commit is contained in:
parent
369c64e1b6
commit
4acc480544
3 changed files with 48 additions and 2 deletions
|
|
@ -40,7 +40,9 @@ class ConfigurationModel(QObject):
|
|||
return self._extruder_configurations
|
||||
|
||||
def setBuildplateConfiguration(self, buildplate_configuration: str) -> None:
|
||||
self._buildplate_configuration = buildplate_configuration
|
||||
if self._buildplate_configuration != buildplate_configuration:
|
||||
self._buildplate_configuration = buildplate_configuration
|
||||
self.configurationChanged.emit()
|
||||
|
||||
@pyqtProperty(str, fset = setBuildplateConfiguration, notify = configurationChanged)
|
||||
def buildplateConfiguration(self) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue