self.checkValues()
- self.parent.change()
+ self.parent.change()
def __call__(self, selected): #needed by configlist
self.checkValues()
#this will no change anything on the value itself
#so we can handle it here in gui element
if key == config.key["prevElement"]:
+ self.textInput.nextKey()
self.markedPos -= 1
+
if key == config.key["nextElement"]:
+ self.textInput.nextKey()
self.markedPos += 1
if (self.mode == self.extendableSize):
if (self.markedPos >= len(self.parent.value)):
self.parent.value = self.parent.value.ljust(len(self.parent.value) + 1)
-
+
+
if key >= config.key["0"] and key <= config.key["9"]:
number = 9 - config.key["9"] + key
tcnt = cnt
cnt += 1
if tcnt != -1:
- return tcnt
+ return tcnt
return 0 #prevent bigger then array
def datafromFile(self, control, data):