Fix #2920 (Ebook viewer not working)

This commit is contained in:
Kovid Goyal 2009-07-27 12:24:10 -06:00
parent 81d70b68d9
commit 4dc60240c1

View File

@ -1409,7 +1409,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
self.view_format(row, format)
break
if not in_prefs:
self.view_format(row, format[0])
self.view_format(row, formats[0])
else:
paths = self.current_view().model().paths(rows)
for path in paths: