Skip to content

Commit

Permalink
Merge pull request #85 from laborleben/finally_fix_blank_fields
Browse files Browse the repository at this point in the history
Finally fixing #83 (blank fields)
  • Loading branch information
uvemas authored Oct 19, 2017
2 parents fab9fbe + 2617c0c commit 0cfe2c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vitables/vttables/leaf_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@ def __init__(self, leaf, parent=None):
self.formatContent = vitables.utils.formatObjectContent
elif atom_type in ('vlstring', 'vlunicode'):
self.formatContent = vitables.utils.formatStringContent
else:
self.formatContent = vitables.utils.formatArrayContent
else:
self.formatContent = vitables.utils.formatStringContent
self.formatContent = vitables.utils.formatArrayContent

# Track selected cell
self.selected_cell = {'index': QtCore.QModelIndex(), 'buffer_start': 0}
Expand Down

0 comments on commit 0cfe2c8

Please sign in to comment.