mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #6509 (v0.7.14 - Broken link in book description)
This commit is contained in:
parent
c1bf0ebd13
commit
233baa63c6
@ -48,11 +48,11 @@ class BookInfo(QDialog, Ui_BookInfo):
|
|||||||
self.refresh(row)
|
self.refresh(row)
|
||||||
|
|
||||||
def open_book_path(self, path):
|
def open_book_path(self, path):
|
||||||
if os.sep in unicode(path):
|
path = unicode(path)
|
||||||
|
if os.sep in path:
|
||||||
open_local_file(path)
|
open_local_file(path)
|
||||||
else:
|
else:
|
||||||
format = unicode(path)
|
path = self.view.model().db.format_abspath(self.current_row, path)
|
||||||
path = self.view.model().db.format_abspath(self.current_row, format)
|
|
||||||
if path is not None:
|
if path is not None:
|
||||||
open_local_file(path)
|
open_local_file(path)
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="fit_cover">
|
<widget class="QCheckBox" name="fit_cover">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Fit &cover to view</string>
|
<string>Fit &cover within view</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user