Skip to content

Commit

Permalink
filesystemmodel: Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya57 committed Jan 5, 2025
1 parent d8b8744 commit 5fef725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReText/filesystemmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class ReTextFileSystemModel(QFileSystemModel):

def data(self, index, role):
# Show file path in tooltip
# Show file name in tooltip
if role == Qt.ItemDataRole.ToolTipRole:
role = QFileSystemModel.Roles.FileNameRole
return super().data(index, role)

0 comments on commit 5fef725

Please sign in to comment.