Fix a typo in a comment

CURA-2113
This commit is contained in:
fieldOfView 2016-08-11 17:18:43 +02:00
parent 2a55bba840
commit 5c63e5e13f

View file

@ -70,7 +70,7 @@ class PerObjectSettingVisibilityHandler(UM.Settings.Models.SettingVisibilityHand
else: else:
stack = UM.Application.getInstance().getGlobalContainerStack() stack = UM.Application.getInstance().getGlobalContainerStack()
new_instance.setProperty("value", stack.getProperty(item, "value")) new_instance.setProperty("value", stack.getProperty(item, "value"))
new_instance.resetState() # Ensute that the state is not seen as a user state. new_instance.resetState() # Ensure that the state is not seen as a user state.
settings.addInstance(new_instance) settings.addInstance(new_instance)
visibility_changed = True visibility_changed = True
else: else: