Free up some fw space (#2844)

This commit is contained in:
Totoo 2025-10-28 01:10:09 +01:00 committed by GitHub
parent bf18851b6b
commit b739dd883c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 132 additions and 109 deletions

View file

@ -612,7 +612,7 @@ void TextEditorView::open_file(const fs::path& path) {
viewer.clear_file();
delete_temp_file(path_);
path_ = {};
path_ = "";
file_dirty_ = false;
has_temp_file_ = false;
auto result = FileWrapper::open(