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

LibGUI: Make FontPicker correctly select the current font when opened

This commit is contained in:
Andreas Kling 2020-12-30 18:04:36 +01:00
parent 34ae570928
commit 8fe1643c4b
2 changed files with 16 additions and 7 deletions

View file

@ -43,7 +43,7 @@ public:
private:
FontPicker(Window* parent_window = nullptr, const Gfx::Font* current_font = nullptr, bool fixed_width_only = false);
void update_sample_label();
void update_font();
const bool m_fixed_width_only;