mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
FontEditor: Include file basename in error messages when available
And write messages in the [action] failed: [error] format to match common error message formatting elsewhere in Userland.
This commit is contained in:
parent
9725fd162f
commit
92a75ccaed
3 changed files with 24 additions and 22 deletions
|
@ -84,7 +84,7 @@ private:
|
|||
void push_undo();
|
||||
void reset_selection_and_push_undo();
|
||||
|
||||
void show_error(StringView preface, Error);
|
||||
void show_error(Error, StringView action, StringView basename = {});
|
||||
|
||||
RefPtr<Gfx::BitmapFont> m_edited_font;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue