diff MainWindow.py @ 150:babe14449162

the entries for the selected feeds had to be set onto the item delegate so had access to the selected feed entry. Keep the list in one place only (the model) and access it from the item delegate.
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 27 Aug 2011 06:43:28 +0200
parents 8ec20377bcb0
children bca9341dc67f
line wrap: on
line diff
--- a/MainWindow.py	Fri Aug 26 06:14:42 2011 +0200
+++ b/MainWindow.py	Sat Aug 27 06:43:28 2011 +0200
@@ -62,7 +62,6 @@
     def setupFeedTableModel(self):
         model = FeedEntryTableModel(self.feedEntries)
         self.ui.feedEntryList.setModel(model)
-        self.ui.feedEntryList.itemDelegate().entries = self.feedEntries
 
     def setupFeedTableHeaderWidths(self):
         width = self.ui.feedEntryList.width()