A fix in the order for new elements in lists
This commit is contained in:
parent
b9d835371e
commit
df4f37b744
@ -36,7 +36,7 @@ class baseBuffer(object):
|
|||||||
if no_next == True:
|
if no_next == True:
|
||||||
if self.tab.list.get_count() > 0 and num > 0:
|
if self.tab.list.get_count() > 0 and num > 0:
|
||||||
print "inserting a value"
|
print "inserting a value"
|
||||||
[self.insert(i, True) for i in self.session.db[self.name]["items"][num:]]
|
[self.insert(i, True) for i in self.session.db[self.name]["items"][:num]]
|
||||||
else:
|
else:
|
||||||
[self.insert(i) for i in self.session.db[self.name]["items"][:num]]
|
[self.insert(i) for i in self.session.db[self.name]["items"][:num]]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user