FontEditor: Remove unnecessary call to hide() NewFontDialog

This workaround has not been needed since 5c92397
This commit is contained in:
thankyouverycool 2023-05-10 17:00:44 -04:00 committed by Andreas Kling
commit 1ee78c40ae
Notes: sideshowbarker 2024-07-17 18:46:30 +09:00

View file

@ -116,7 +116,6 @@ ErrorOr<void> MainWidget::create_actions()
auto new_font_wizard = NewFontDialog::construct(window());
if (new_font_wizard->exec() != GUI::Dialog::ExecResult::OK)
return;
new_font_wizard->hide();
auto maybe_font = new_font_wizard->create_font();
if (maybe_font.is_error())
return show_error(maybe_font.release_error(), "Creating new font failed"sv);