Skip to content

Commit

Permalink
Fix duplicates in file dialog completion menu
Browse files Browse the repository at this point in the history
  • Loading branch information
joouha committed Oct 9, 2023
1 parent 931b684 commit f8a7152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion euporie/core/widgets/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def _accept_text(buf: Buffer) -> bool:
show_address_bar=False,
on_select=lambda path: setattr(self.filepath, "text", path.name),
)
completer.get_paths = lambda: [str(self.file_browser.control.dir), "."]
completer.get_paths = lambda: [str(self.file_browser.control.dir)]
self.error = ""

self.body = HSplit(
Expand Down

0 comments on commit f8a7152

Please sign in to comment.