~jr/bzr-explorer/792308-refresh-automatically

« back to all changes in this revision

Viewing changes to widgets/conditional_dataview.py

  • Committer: Alexander Belchenko
  • Date: 2010-09-29 13:07:49 UTC
  • Revision ID: bialix@ukr.net-20100929130749-nd65z87batas93aw
Open the shared repository with branches without parent location set no more produce traceback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
                        except (TypeError, ValueError):
170
170
                            item.setData(QVariant("Not displayable"),
171
171
                                         Qt.DisplayRole)
172
 
                        item.setData(QVariant(tuple_list[i][j]))
 
172
                        item.setData(QVariant(tuple_list[i][j] or ''))
173
173
                    else:
174
174
                        item = QtGui.QStandardItem()
175
175
                        try:
185
185
                    self.setItem(i,j,item)
186
186
        else:
187
187
            self._column_count = 0
188
 
        
 
188
 
189
189
    def raw_data(self):
190
190
        return self._raw_data
191
191