mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add warning about merging
This commit is contained in:
parent
3318f376d9
commit
3172744e22
@ -47,7 +47,9 @@ def customize_remove_unused_css(name, parent, ans):
|
|||||||
m.setChecked(tprefs['merge_identical_selectors'])
|
m.setChecked(tprefs['merge_identical_selectors'])
|
||||||
l.addWidget(m)
|
l.addWidget(m)
|
||||||
d.la3 = label('<span style="font-size:small; font-style: italic">' + _(
|
d.la3 = label('<span style="font-size:small; font-style: italic">' + _(
|
||||||
'Merge CSS rules in the same stylesheet that have identical selectors.'))
|
'Merge CSS rules in the same stylesheet that have identical selectors.'
|
||||||
|
' Note that in rare cases merging can result in a change to the effective styling'
|
||||||
|
' of the book, so use with care.'))
|
||||||
d.bb = QDialogButtonBox(QDialogButtonBox.Ok | QDialogButtonBox.Cancel)
|
d.bb = QDialogButtonBox(QDialogButtonBox.Ok | QDialogButtonBox.Cancel)
|
||||||
d.l.addWidget(d.bb)
|
d.l.addWidget(d.bb)
|
||||||
d.bb.rejected.connect(d.reject)
|
d.bb.rejected.connect(d.reject)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user