forked from openlp/openlp
The import saves the value if we use QLineEdit instead of QPlainTextEdit... But why?
This commit is contained in:
parent
7ba2bb6d82
commit
25631152ad
@ -381,7 +381,7 @@ class BibleImportForm(OpenLPWizard):
|
||||
self.full_license_label = QtWidgets.QLabel(self.license_details_page)
|
||||
self.full_license_label.setObjectName('FullLicenseLabel')
|
||||
self.license_details_layout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.full_license_label)
|
||||
self.full_license_edit = QtWidgets.QPlainTextEdit(self.license_details_page)
|
||||
self.full_license_edit = QtWidgets.QLineEdit(self.license_details_page)
|
||||
self.full_license_edit.setObjectName('FullLicenseEdit')
|
||||
self.license_details_layout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.full_license_edit)
|
||||
self.addPage(self.license_details_page)
|
||||
@ -750,7 +750,7 @@ class BibleImportForm(OpenLPWizard):
|
||||
self.setField('license_version', self.version_name_edit.text())
|
||||
self.setField('license_copyright', self.copyright_edit.text())
|
||||
self.setField('license_permissions', self.permissions_edit.text())
|
||||
self.setField('license_full_license', self.full_license_edit.toPlainText())
|
||||
self.setField('license_full_license', self.full_license_edit.text())
|
||||
self.on_web_source_combo_box_index_changed(WebDownload.Crosswalk)
|
||||
settings.endGroup()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user