mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
HexEditor: Respond to font changes
This commit is contained in:
parent
3318563ad9
commit
6850ef9014
2 changed files with 7 additions and 0 deletions
|
@ -567,6 +567,12 @@ void HexEditor::context_menu_event(GUI::ContextMenuEvent& event)
|
|||
m_context_menu->popup(event.screen_position());
|
||||
}
|
||||
|
||||
void HexEditor::theme_change_event(GUI::ThemeChangeEvent&)
|
||||
{
|
||||
set_font(Gfx::FontDatabase::default_fixed_width_font());
|
||||
update_content_size();
|
||||
}
|
||||
|
||||
void HexEditor::update_status()
|
||||
{
|
||||
if (on_status_change)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue