summaryrefslogtreecommitdiff
path: root/Applications/FontEditor/FontEditor.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-10 04:02:20 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-10 04:02:20 +0200
commitb980c3266250c059c84a2e13343ebc508020bc25 (patch)
tree9becaaa0b030049aa7ce2338476bbea5be4a9940 /Applications/FontEditor/FontEditor.cpp
parentf5c295ecc595cd03584caa26d4cc26f4ad39fc4f (diff)
downloadserenity-b980c3266250c059c84a2e13343ebc508020bc25.zip
FontEditor: Update the glyph map when changing a glyph's width.
Diffstat (limited to 'Applications/FontEditor/FontEditor.cpp')
-rw-r--r--Applications/FontEditor/FontEditor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Applications/FontEditor/FontEditor.cpp b/Applications/FontEditor/FontEditor.cpp
index 18e66a8ae7..1ebedb37a9 100644
--- a/Applications/FontEditor/FontEditor.cpp
+++ b/Applications/FontEditor/FontEditor.cpp
@@ -108,6 +108,7 @@ FontEditorWidget::FontEditorWidget(const String& path, RetainPtr<Font>&& edited_
width_spinbox->on_change = [this, update_demo] (int value) {
m_edited_font->set_glyph_width(m_glyph_map_widget->selected_glyph(), value);
m_glyph_editor_widget->update();
+ m_glyph_map_widget->update_glyph(m_glyph_map_widget->selected_glyph());
update_demo();
};