Fix #1739 (No longer able to change header format during conversion on OS X)

This commit is contained in:
Kovid Goyal 2009-01-30 12:15:52 -08:00
parent 7da6be4b76
commit 2ed23e656c
2 changed files with 34 additions and 1 deletions

View File

@ -253,6 +253,7 @@ class LRFSingleDialog(QDialog, Ui_LRFSingleDialog):
state = Qt.Checked if default else Qt.Unchecked
obj.setCheckState(state)
self.gui_headerformat.setDisabled(True)
self.gui_header_separation.setDisabled(True)
self.gui_use_metadata_cover.setCheckState(Qt.Checked)
self.preprocess.addItem('No preprocessing')
for opt in self.PREPROCESS_OPTIONS:

View File

@ -120,7 +120,7 @@
<item>
<widget class="QStackedWidget" name="stack" >
<property name="currentIndex" >
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="metadata_page" >
<layout class="QHBoxLayout" name="_2" >
@ -1055,5 +1055,37 @@ p, li { white-space: pre-wrap; }
</hint>
</hints>
</connection>
<connection>
<sender>gui_header</sender>
<signal>toggled(bool)</signal>
<receiver>gui_header_separation</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>235</x>
<y>298</y>
</hint>
<hint type="destinationlabel" >
<x>361</x>
<y>321</y>
</hint>
</hints>
</connection>
<connection>
<sender>gui_header</sender>
<signal>toggled(bool)</signal>
<receiver>gui_headerformat</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>307</x>
<y>300</y>
</hint>
<hint type="destinationlabel" >
<x>363</x>
<y>362</y>
</hint>
</hints>
</connection>
</connections>
</ui>