mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit book: Fix 'Show' details button not visible when doing 'Replace' all rather than 'Count all'
This commit is contained in:
parent
3e4da5429e
commit
7ed129d73f
@ -1471,7 +1471,7 @@ def run_search(
|
||||
if show_diff and count > 0:
|
||||
d = MessageBox(MessageBox.INFO, _('Searching done'), prepare_string_for_xml(msg), parent=gui_parent, show_copy_button=False, det_msg=det_msg)
|
||||
d.diffb = b = d.bb.addButton(_('See what &changed'), d.bb.ActionRole)
|
||||
b.setIcon(QIcon(I('diff.png'))), d.set_details(None), b.clicked.connect(d.accept)
|
||||
b.setIcon(QIcon(I('diff.png'))), b.clicked.connect(d.accept)
|
||||
b.clicked.connect(partial(show_current_diff, allow_revert=True), type=Qt.QueuedConnection)
|
||||
d.exec_()
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user