mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #1933989 [[Enhancement] Remove author in the Manage author window](https://bugs.launchpad.net/calibre/+bug/1933989)
This commit is contained in:
commit
1fb0ba6799
@ -338,7 +338,8 @@ class EditAuthorsDialog(QDialog, Ui_EditAuthorsDialog):
|
|||||||
def search_in_book_list(self):
|
def search_in_book_list(self):
|
||||||
from calibre.gui2.ui import get_gui
|
from calibre.gui2.ui import get_gui
|
||||||
row = self.context_item.row()
|
row = self.context_item.row()
|
||||||
get_gui().search.set_search_string(self.table.item(row, 0).text())
|
get_gui().search.set_search_string('authors:="%s"' %
|
||||||
|
unicode_type(self.table.item(row, 0).text()).replace(r'"', r'\"'))
|
||||||
|
|
||||||
def copy_to_clipboard(self):
|
def copy_to_clipboard(self):
|
||||||
cb = QApplication.clipboard()
|
cb = QApplication.clipboard()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user