Skip to content

Commit

Permalink
Update the title bar after Save as...
Browse files Browse the repository at this point in the history
src/window.py
  • Loading branch information
ShikiOkasaka committed May 16, 2024
1 parent 40e9617 commit 04b68cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,9 @@ def save_as(self):
self.file = dialog.get_file()
LOGGER.debug(f'save_as: {self.file} "{dialog.get_current_folder()}"')
dialog.destroy()
return self.save()
result = self.save()
self.update_title()
return result
dialog.destroy()
return True

Expand Down

0 comments on commit 04b68cd

Please sign in to comment.