Add a reminder to add the node to the FileSelected message

This commit is contained in:
Dave Pearson
2023-05-02 16:48:06 +01:00
parent 5f22cf8e7b
commit 465f522ef3

View File

@@ -66,6 +66,9 @@ class DirectoryTree(Tree[DirEntry]):
def __init__(self, path: Path) -> None:
super().__init__()
# TODO: Add the node here too to mimic what Tree provides.
# Without it there's no sensible way of knowing which tree sent
# the message.
self.path: Path = path
"""The path of the file that was selected."""