mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
proper fix for bug 4936.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25215 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
16420e5263
commit
15676a062f
@ -933,7 +933,7 @@ GuiDocument::GuiDocument(GuiView & lv)
|
||||
pdfSupportModule = new UiWidget<Ui::PDFSupportUi>;
|
||||
|
||||
connect(pdfSupportModule->use_hyperrefGB, SIGNAL(toggled(bool)),
|
||||
this, SLOT(useHyperrefClicked()));
|
||||
this, SLOT(change_adaptor()));
|
||||
connect(pdfSupportModule->titleLE, SIGNAL(textChanged(const QString &)),
|
||||
this, SLOT(change_adaptor()));
|
||||
connect(pdfSupportModule->authorLE, SIGNAL(textChanged(const QString &)),
|
||||
@ -1013,15 +1013,6 @@ void GuiDocument::useDefaultsClicked()
|
||||
}
|
||||
|
||||
|
||||
void GuiDocument::useHyperrefClicked()
|
||||
{
|
||||
// strange as it is, Qt seems to be unable to handle this by itself
|
||||
pdfSupportModule->bookmarksopenlevelLA->setEnabled(
|
||||
pdfSupportModule->bookmarksopenlevelSB->isEnabled());
|
||||
change_adaptor();
|
||||
}
|
||||
|
||||
|
||||
void GuiDocument::change_adaptor()
|
||||
{
|
||||
changed();
|
||||
|
@ -120,7 +120,6 @@ private Q_SLOTS:
|
||||
void set_listings_msg();
|
||||
void saveDefaultClicked();
|
||||
void useDefaultsClicked();
|
||||
void useHyperrefClicked();
|
||||
void setLSpacing(int);
|
||||
void setMargins(bool);
|
||||
void setCustomPapersize(int);
|
||||
|
@ -329,9 +329,6 @@
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="bookmarksopenlevelLA" >
|
||||
<property name="enabled" >
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>&Level:</string>
|
||||
</property>
|
||||
@ -447,22 +444,5 @@
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>bookmarksGB</sender>
|
||||
<signal>clicked(bool)</signal>
|
||||
<receiver>bookmarksopenlevelLA</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>209</x>
|
||||
<y>131</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>71</x>
|
||||
<y>168</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
Loading…
Reference in New Issue
Block a user