Skip to content

Commit

Permalink
ahh...
Browse files Browse the repository at this point in the history
  • Loading branch information
predragnikolic committed Jun 26, 2024
1 parent d488b06 commit d1a10cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/rename_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def run(
if os.path.exists(new_path):
self.window.status_message('Unable to Rename. Already exists')
return
if old_path == '' and view: # handle renaming buffers
if old_path == '' and view: # handle renaming buffers
view.set_name(Path(new_path).name)
return
rename_file_params: RenameFilesParams = {
Expand Down

0 comments on commit d1a10cf

Please sign in to comment.