mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Fix typos in documentation
Contributes to issue CURA-2011.
This commit is contained in:
parent
95b06f317a
commit
5bd3d83c9e
1 changed files with 3 additions and 3 deletions
|
@ -7,8 +7,8 @@ import UM.Settings.Models
|
||||||
|
|
||||||
from cura.Settings.SettingOverrideDecorator import SettingOverrideDecorator
|
from cura.Settings.SettingOverrideDecorator import SettingOverrideDecorator
|
||||||
|
|
||||||
## The per object setting visibility handler ensures that only setting defintions that have a matching instance Container
|
## The per object setting visibility handler ensures that only setting
|
||||||
# are returned as visible.
|
# definitions that have a matching instance Container are returned as visible.
|
||||||
class PerObjectSettingVisibilityHandler(UM.Settings.Models.SettingVisibilityHandler):
|
class PerObjectSettingVisibilityHandler(UM.Settings.Models.SettingVisibilityHandler):
|
||||||
def __init__(self, parent = None, *args, **kwargs):
|
def __init__(self, parent = None, *args, **kwargs):
|
||||||
super().__init__(parent = parent, *args, **kwargs)
|
super().__init__(parent = parent, *args, **kwargs)
|
||||||
|
@ -57,7 +57,7 @@ class PerObjectSettingVisibilityHandler(UM.Settings.Models.SettingVisibilityHand
|
||||||
settings.addInstance(SettingInstance(definition, settings))
|
settings.addInstance(SettingInstance(definition, settings))
|
||||||
visibility_changed = True
|
visibility_changed = True
|
||||||
else:
|
else:
|
||||||
Logger.log("w", "Unable to add instance (%s) to perobject visibility because we couldn't find the matching definition", item)
|
Logger.log("w", "Unable to add instance (%s) to per-object visibility because we couldn't find the matching definition", item)
|
||||||
|
|
||||||
if visibility_changed:
|
if visibility_changed:
|
||||||
self.visibilityChanged.emit()
|
self.visibilityChanged.emit()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue