Mercurial > hg > Feedworm
diff MainWindow.py @ 53:8cca4585eb33
the feed settings menu item starts out disabled and gets enabled once a feed is selected
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 18 May 2010 02:58:31 +0200 |
parents | 4b0d686493fb |
children | 0f9b3e57cff0 |
line wrap: on
line diff
--- a/MainWindow.py Tue May 18 02:56:02 2010 +0200 +++ b/MainWindow.py Tue May 18 02:58:31 2010 +0200 @@ -33,6 +33,9 @@ def feedSelected(self, index): self.selectedFeed = self.allFeeds[index.row()] + + self.ui.actionFeedSettings.setEnabled(True) + self.sortedEntries = self.selectedFeed.entriesSortedByUpdateDate() model = DisplayModel(self, self.sortedEntries, FeedEntry.userPresentableString) self.ui.feedEntryList.setModel(model)