From df4f37b7442f76485bf145f6492e8807f7e96b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Wed, 17 Feb 2016 11:19:46 -0600 Subject: [PATCH] A fix in the order for new elements in lists --- src/controller/buffers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/buffers.py b/src/controller/buffers.py index 686998c..c644a30 100644 --- a/src/controller/buffers.py +++ b/src/controller/buffers.py @@ -36,7 +36,7 @@ class baseBuffer(object): if no_next == True: if self.tab.list.get_count() > 0 and num > 0: 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: [self.insert(i) for i in self.session.db[self.name]["items"][:num]]