This commit is contained in:
Kovid Goyal 2007-11-12 04:56:28 +00:00
parent b96b811fde
commit 6107288351
2 changed files with 2 additions and 0 deletions

View File

@ -168,6 +168,7 @@ class LRFSingleDialog(QDialog, Ui_LRFSingleDialog):
self.gui_comment.setPlainText(comments if comments else '')
all_series = self.db.all_series()
all_series.sort(cmp=lambda x, y : cmp(x[1], y[1]))
series_id = self.db.series_id(row)
idx, c = None, 0
for i in all_series:

View File

@ -178,6 +178,7 @@ class MetadataSingleDialog(QDialog, Ui_MetadataSingleDialog):
Format(self.formats, ext)
all_series = self.db.all_series()
all_series.sort(cmp=lambda x, y : cmp(x[1], y[1]))
series_id = self.db.series_id(row)
idx, c = None, 0
for i in all_series: