1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

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
parent e2762d8956
commit 1ee78c40ae

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);