Preloads should now be done with least important first.
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 23 Jan 2006 18:48:03 +0000 (18:48 +0000)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 23 Jan 2006 18:48:03 +0000 (18:48 +0000)
src/packages/kofoto/gkofoto/objectselection.py

index 455e15c..e212538 100644 (file)
@@ -74,7 +74,7 @@ class ObjectSelection:
             rowNumbers.sort()
             rowNr = rowNumbers[0]
         filenames = []
-        for x in [rowNr, rowNr + 1, rowNr - 1, rowNr + 2]: # TODO: Make configurable.
+        for x in [rowNr - 2, rowNr + 2, rowNr - 1, rowNr + 1]: # TODO: Make configurable.
             if 0 <= x < len(model):
                 ux = oc.convertToUnsortedRowNr(x)
                 obj = self.__getObject(ux)