Cleanup previous PR

This commit is contained in:
Kovid Goyal 2022-06-05 20:43:41 +05:30
parent ace0cc7e6c
commit 0e9e771d1b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -326,11 +326,11 @@ class CreateCustomColumn(QDialog):
# bool formatting
h1 = QHBoxLayout()
self.bool_show_icon_button = QRadioButton('&Icon')
self.bool_show_icon_button = QRadioButton(_('&Icon'))
h1.addWidget(self.bool_show_icon_button)
self.bool_show_text_button = QRadioButton('&Text')
self.bool_show_text_button = QRadioButton(_('&Text'))
h1.addWidget(self.bool_show_text_button)
self.bool_show_both_button = QRadioButton('&Both')
self.bool_show_both_button = QRadioButton(_('&Both'))
h1.addWidget(self.bool_show_both_button)
self.bool_button_group = QGroupBox()
self.bool_button_group.setLayout(h1)
@ -340,7 +340,7 @@ class CreateCustomColumn(QDialog):
la.setWordWrap(True)
h.addWidget(la)
h.setStretch(1, 10)
self.bool_show_label = add_row(_('Show:'), h)
self.bool_show_label = add_row(_('&Show:'), h)
# Date/number formatting
h = QHBoxLayout()