Possible fix for PRS-505/700 SD card showing incorrectly.

This commit is contained in:
John Schember 2009-06-07 07:57:52 -04:00
parent 1698ebaa5b
commit 336dfaac4a

View File

@ -216,9 +216,6 @@ class LocationModel(QAbstractListModel):
cpa, cpb = cp cpa, cpb = cp
self.free[1] = fs[1] if fs[1] is not None and cpa is not None else -1 self.free[1] = fs[1] if fs[1] is not None and cpa is not None else -1
self.free[2] = fs[2] if fs[2] is not None and cpb is not None else -1 self.free[2] = fs[2] if fs[2] is not None and cpb is not None else -1
if self.free[1] < 0 and self.free[2] >= 0:
self.free[1] = self.free[2]
self.free[2] = -1
self.reset() self.reset()
def location_changed(self, row): def location_changed(self, row):