Skip to content

Commit

Permalink
Update src/silx/app/view/CustomPlotSelectionWindow.py
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas VINCENT <[email protected]>
  • Loading branch information
RebeloAlexis and t20100 authored Jun 19, 2024
1 parent 4f5dc39 commit 1d58794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/silx/app/view/CustomPlotSelectionWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def _createRowItems(
return fileItem, iconItem, removeItem

def fileItemExists(self, filename: str) -> bool:
"""Return if a file item with the given filename exists in the model for the Y datasets."""
"""Return True if a file item with the given filename exists in the Y datasets of the model."""
for row in range(self.getYParent().rowCount()):
item = self.item(row, 1)
if item and item.text() == filename:
Expand Down

0 comments on commit 1d58794

Please sign in to comment.