Skip to content

Commit

Permalink
Clear found lines when loading a new file
Browse files Browse the repository at this point in the history
  • Loading branch information
StSav012 committed Apr 5, 2024
1 parent 25e205a commit 3c9a9b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/psk_viewer/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,7 @@ def clear_ghost(self) -> None:

def load_data(self, filename: Path | None = None) -> bool:
self.clear_ghost()
self.clear_found_lines()

if filename is None:
_filter: str
Expand Down

0 comments on commit 3c9a9b5

Please sign in to comment.