mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix bug #6293 as suggested there: We change the title of the PDF
options pane if hyperref is already provided. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40422 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4c1f1357c1
commit
fa19ec6ff9
@ -3092,6 +3092,10 @@ void GuiDocument::paramsToDialog()
|
||||
// PDF support
|
||||
PDFOptions const & pdf = bp_.pdfoptions();
|
||||
pdfSupportModule->use_hyperrefGB->setChecked(pdf.use_hyperref);
|
||||
if (bp_.documentClass().provides("hyperref"))
|
||||
pdfSupportModule->use_hyperrefGB->setTitle(qt_("C&ustomize Hyperref Options"));
|
||||
else
|
||||
pdfSupportModule->use_hyperrefGB->setTitle(qt_("&Use Hyperref Support"));
|
||||
pdfSupportModule->titleLE->setText(toqstr(pdf.title));
|
||||
pdfSupportModule->authorLE->setText(toqstr(pdf.author));
|
||||
pdfSupportModule->subjectLE->setText(toqstr(pdf.subject));
|
||||
|
Loading…
Reference in New Issue
Block a user