mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d199ae270b
commit
55dc6a7b7c
@ -335,7 +335,7 @@ class ItemView(QStackedWidget): # {{{
|
|||||||
l.addWidget(s.bb)
|
l.addWidget(s.bb)
|
||||||
|
|
||||||
d = D(self)
|
d = D(self)
|
||||||
if d.exec_() == QDialog.DialogCode.Accepted:
|
if d.exec() == QDialog.DialogCode.Accepted:
|
||||||
self.create_from_xpath.emit(xpaths, d.remove_duplicates_cb.isChecked(), d.prefer_title_cb.isChecked())
|
self.create_from_xpath.emit(xpaths, d.remove_duplicates_cb.isChecked(), d.prefer_title_cb.isChecked())
|
||||||
self.prefs.set('toc_from_headings_remove_duplicates', d.remove_duplicates_cb.isChecked())
|
self.prefs.set('toc_from_headings_remove_duplicates', d.remove_duplicates_cb.isChecked())
|
||||||
self.prefs.set('toc_from_headings_prefer_title', d.prefer_title_cb.isChecked())
|
self.prefs.set('toc_from_headings_prefer_title', d.prefer_title_cb.isChecked())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user