diff options
Diffstat (limited to 'Userland/Applications/FontEditor/FontEditor.cpp')
-rw-r--r-- | Userland/Applications/FontEditor/FontEditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/FontEditor/FontEditor.cpp b/Userland/Applications/FontEditor/FontEditor.cpp index 9f56711510..1431df911d 100644 --- a/Userland/Applications/FontEditor/FontEditor.cpp +++ b/Userland/Applications/FontEditor/FontEditor.cpp @@ -521,7 +521,7 @@ void FontEditorWidget::initialize(String const& path, RefPtr<Gfx::BitmapFont>&& int i = 0; for (auto& it : Gfx::font_weight_names) { if (it.style == m_edited_font->weight()) { - m_weight_combobox->set_selected_index(i); + m_weight_combobox->set_selected_index(i, GUI::AllowCallback::No); break; } i++; @@ -529,7 +529,7 @@ void FontEditorWidget::initialize(String const& path, RefPtr<Gfx::BitmapFont>&& i = 0; for (auto& it : Gfx::font_slope_names) { if (it.style == m_edited_font->slope()) { - m_slope_combobox->set_selected_index(i); + m_slope_combobox->set_selected_index(i, GUI::AllowCallback::No); break; } i++; |