Fix renaming (#3083)

Release Notes:

- Fix bugs arising from saving an untitled buffer
7d94b0325fConrad Irwin committed on 10/4/2023, 8:50:31 PM· committed by GitHubparents6cb674aff1722d
3 files changedLine totals unavailable