Update attributeManager.py

This commit is contained in:
chrys87 2018-05-28 14:32:04 +02:00 committed by GitHub
parent 5cc72ace54
commit 75bd9ea0ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,10 +25,16 @@ class attributeManager():
self.resetAttributeCursor()
def resetAttributeDelta(self):
self.currAttributeDelta = ''
self.prevAttributeDelta = ''
self.prevAttributeDelta = ''
def updateAttributeDelta(self, currAttributeDelta):
self.prevAttributeDelta = self.currAttributeDelta
self.currAttributeDelta = currAttributeDelta
def resetAttributeCursor(self):
self.currAttributeCursor = None
self.prefAttributeCursor = None
def updateAttributeCursor(self, currAttributeCursor):
self.prefAttributeCursor = self.currAttributeCursor
self.currAttributeCursor = currAttributeCursor
def resetAttributeData(self, currAttributes):
self.prevAttributes = None
self.currAttributes = currAttributes