~r-ubunt3-5/zim/bookmarks

« back to all changes in this revision

Viewing changes to zim/plugins/tableeditor.py

  • Committer: Jaap Karssenberg
  • Date: 2016-01-07 11:00:16 UTC
  • Revision ID: jaap.karssenberg@gmail.com-20160107110016-x6o27rx6jme9xjbf
Fix for tableeditor

Show diffs side-by-side

added added

removed removed

Lines of Context:
374
374
                # update data
375
375
                if self._liststore:
376
376
                        liststore = self._get_liststore()
 
377
                        self._header = headers
377
378
                        self._rows = self._update_rows(liststore, id_mapping, len(headers))
378
379
                        liststore = self._get_liststore(reset=True)
379
380
                else:
380
381
                        liststore = None
 
382
                        self._header = headers
381
383
                        self._rows = self._update_rows(self._rows, id_mapping, len(headers))
382
384
 
383
385
                self.set_aligns(aligns)