Fix exception in get_selected_torrents().

This commit is contained in:
Andrew Resch 2008-02-04 07:28:17 +00:00
parent 22f6477d69
commit 3af0ea2e9f
1 changed files with 2 additions and 1 deletions

View File

@ -383,7 +383,8 @@ class TorrentView(listview.ListView, component.Component):
row = self.model_filter.get_iter(path)
except Exception, e:
log.debug("Unable to get iter from path: %s", e)
continue
child_row = self.model_filter.convert_iter_to_child_iter(None, row)
child_row = self.model_filter.get_model().convert_iter_to_child_iter(child_row)
if self.liststore.iter_is_valid(child_row):