mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Implement #150
This commit is contained in:
parent
cee41c8822
commit
4be73c0f49
@ -384,6 +384,8 @@ class Main(MainWindow, Ui_MainWindow):
|
||||
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…
x
Reference in New Issue
Block a user