Skip to content

Commit

Permalink
✨ Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
juftin committed Mar 14, 2024
1 parent 8d1cd95 commit ba572c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions browsr/widgets/code_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from textual.reactive import var
from textual.widgets import DirectoryTree
from textual_universal_directorytree import (
UniversalDirectoryTree,
UPath,
is_remote_path,
)
Expand Down Expand Up @@ -172,7 +171,7 @@ def handle_table_view_display_toggle(
self.datatable_window.display = self.table_view_status
self.window_switcher.vim_scroll.display = self.static_window_status

@on(UniversalDirectoryTree.FileSelected)
@on(DirectoryTree.FileSelected)
def handle_file_selected(self, message: DirectoryTree.FileSelected) -> None:
"""
Called when the user click a file in the directory tree.
Expand Down

0 comments on commit ba572c5

Please sign in to comment.