This commit is contained in:
Kovid Goyal 2024-12-12 07:30:07 +05:30
commit 8ef7adc954
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -625,6 +625,7 @@ class CreateCustomColumn(QDialog):
getattr(self, 'composite_'+x).setVisible(col_type in ('composite', '*composite'))
self.composite_heading_position.setEnabled(False)
self.store_template_value_in_opf.setVisible(col_type == 'composite')
self.store_template_value_in_opf.setChecked(True)
for x in ('box', 'default_label', 'colors', 'colors_label'):
getattr(self, 'enum_'+x).setVisible(col_type == 'enumeration')