Fixed bug. Scroll when is enough space for all items

This commit is contained in:
9and3r
2014-07-31 15:36:54 +02:00
parent 0743f966f9
commit 31b5862c63

View File

@@ -74,6 +74,7 @@ class ListView():
self.move_to(1)
def move_to(self, direction):
if self.scrollbar:
if direction == 1:
self.current_item += self.max_rows
if self.current_item + self.max_rows > self.list_size: