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

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