mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-18 05:33:48 +01:00
Implement #150
This commit is contained in:
parent
cee41c8822
commit
4be73c0f49
1 changed files with 2 additions and 0 deletions
|
|
@ -384,6 +384,8 @@ def edit_metadata(self, checked):
|
|||
Edit metadata of selected books in library individually.
|
||||
'''
|
||||
rows = self.library_view.selectionModel().selectedRows()
|
||||
if len(rows) > 1:
|
||||
return self.edit_bulk_metadata(checked)
|
||||
if not rows or len(rows) == 0:
|
||||
d = error_dialog(self, 'Cannot edit metadata', 'No books selected')
|
||||
d.exec_()
|
||||
|
|
|
|||
Loading…
Reference in a new issue