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/branches/BRANCH_2_0_X@40423 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-12-07 21:15:37 +00:00
parent bcca9bb6b7
commit cbc62641e5
2 changed files with 7 additions and 0 deletions

View File

@ -3030,6 +3030,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));

View File

@ -41,6 +41,9 @@ What's new
- Added scalable LyX icon in svg format (bug 7919).
- Clarify what the user can do when hyperref is provided by the document
class (bug 6293).
* DOCUMENTATION AND LOCALIZATION