Previously opened file's location does not clear when a new empty file is opened
Describe the bug When a new empty file is opened, the file location at the header bar still shows the previously opened file's location (but does not happen when a previously-existing file is opened instead of a new one; refer to the second screenshot attached)
To Reproduce Steps to reproduce the behavior:
- Open a pre-existing file
- Click 'New File' button on the header bar
- See error
Expected behavior The subtitle at the header bar should change.
Screenshots When a pre-existing file is opened: When a new file is opened: When a pre-existing file is opened after that:
Environment(please complete the following information):
- Linux distribution: Arch Linux
- Desktop Enviroment: GNOME
- DE version: 3.36.1
- GTK version: 3.24.17
Edited by Taskin