]> git.lyx.org Git - features.git/commitdiff
Fix bug #6293 as suggested there: We change the title of the PDF
authorRichard Heck <rgheck@comcast.net>
Wed, 7 Dec 2011 21:14:41 +0000 (21:14 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 7 Dec 2011 21:14:41 +0000 (21:14 +0000)
options pane if hyperref is already provided.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40422 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiDocument.cpp

index 017d1fd19f27c7b6c51d1c57ace3c17ea7bf21fb..0f9e14b8f0fbd0c4475f6a78448c3b7ef0ee6b3a 100644 (file)
@@ -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));