Skip to content

Commit

Permalink
Finally fixing #83 (blank fields)
Browse files Browse the repository at this point in the history
  • Loading branch information
laborleben committed Oct 19, 2017
1 parent fab9fbe commit 2617c0c
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 2617c0c

Please sign in to comment.