Commits

Ronny Pfannschmidt committed ef2197d

filefail view: check the entry report collection instead of the listview

  • Participants
  • Parent commits e1c9542

Comments (0)

Files changed (1)

File pytest_gui/gtkui/filefails.py

         if fileentry:
             fileentry.view = self
             self.collection.extend(fileentry.reports)
-        if self.collection:
+        if self.fileentry.reports:
             self.collection.selected_item = self.collection[0]
 
     def on_collection__selection_changed(self, _):