Skip to content

Commit

Permalink
function removal
Browse files Browse the repository at this point in the history
CURA-10967
  • Loading branch information
saumyaj3 committed Oct 5, 2023
1 parent a4a1f45 commit d3bd365
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions UM/Settings/Models/SettingPropertyProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,20 +231,6 @@ def setPropertyValue(self, property_name, property_value):

container.setProperty(self._key, property_name, property_value)

@pyqtSlot(str, "QVariant")
def setPropertyValueForce(self, property_name, property_value):
if not self._stack or not self._key:
return

if property_name not in self._watched_properties:
Logger.log("w", "Tried to set a property that is not being watched")
return

container = self._stack.getContainer(self._store_index)
if isinstance(container, DefinitionContainer):
return

container.setProperty(self._key, property_name, property_value)

@pyqtSlot(str, int, result = "QVariant")
def getPropertyValue(self, property_name: str, stack_level: int) -> Any:
Expand Down

0 comments on commit d3bd365

Please sign in to comment.