mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Possible fix for PRS-505/700 SD card showing incorrectly.
This commit is contained in:
parent
1698ebaa5b
commit
336dfaac4a
@ -216,9 +216,6 @@ class LocationModel(QAbstractListModel):
|
||||
cpa, cpb = cp
|
||||
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
|
||||
if self.free[1] < 0 and self.free[2] >= 0:
|
||||
self.free[1] = self.free[2]
|
||||
self.free[2] = -1
|
||||
self.reset()
|
||||
|
||||
def location_changed(self, row):
|
||||
|
Loading…
x
Reference in New Issue
Block a user