Skip to content

Commit

Permalink
Update plaintextedit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dkratzert committed Apr 3, 2024
1 parent 6aa0757 commit 8811de1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions finalcif/gui/plaintextedit.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ class MyQPlainTextEdit(QPlainTextEdit):
to_be_shortened = {'_shelx_hkl_file', '_shelx_res_file', '_shelx_fab_file', '_shelx_fcf_file',
'_iucr_refine_instructions_details', '_iucr_refine_fcf_details'}

def __init__(self, parent=None, *args, **kwargs):
def __init__(self, parent=None, *args):
"""
Plaintext edit field for most of the table cells.
"""
super().__init__(parent=parent, *args, **kwargs)
super().__init__(*args, parent)
self.cif_key = ''
self.edit_button = None
font = QFont()
Expand Down

0 comments on commit 8811de1

Please sign in to comment.