1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

HexEditor: Propagate errors when using "Save as"

This commit is contained in:
Lucas CHOLLET 2023-01-14 22:04:20 -05:00 committed by Andrew Kaster
parent 3d914247cc
commit 2bba743c24
5 changed files with 25 additions and 31 deletions

View file

@ -38,7 +38,7 @@ public:
void open_file(NonnullOwnPtr<Core::Stream::File> file);
ErrorOr<void> fill_selection(u8 fill_byte);
Optional<u8> get_byte(size_t position);
bool save_as(NonnullOwnPtr<Core::Stream::File>);
ErrorOr<void> save_as(NonnullOwnPtr<Core::Stream::File>);
bool save();
bool undo();