diff --git a/Userland/Applications/HexEditor/HexEditor.cpp b/Userland/Applications/HexEditor/HexEditor.cpp index e16255c117..904589ac31 100644 --- a/Userland/Applications/HexEditor/HexEditor.cpp +++ b/Userland/Applications/HexEditor/HexEditor.cpp @@ -139,7 +139,7 @@ ErrorOr HexEditor::save_as(NonnullOwnPtr new_file) } else { auto& memory_document = static_cast(*m_document); TRY(memory_document.write_to_file(*new_file)); - m_document = HexDocumentFile::create(move(new_file)).release_value_but_fixme_should_propagate_errors(); + m_document = TRY(HexDocumentFile::create(move(new_file))); } update();