We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3ac36b commit 823e638Copy full SHA for 823e638
1 file changed
advanced_new_file/commands/delete_file_command.py
@@ -56,7 +56,7 @@ def _delete_file(self, filepath):
56
else:
57
self.window.run_command("delete_file", {"files": [filepath]})
58
59
- file_view = self._find_open_file(self.rename_filename)
+ file_view = self._find_open_file(filepath)
60
if file_view is not None:
61
file_view.set_scratch(True)
62
window.focus_view(file_view)
0 commit comments