mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 10:47:41 +00:00
FontEditor: Remove unnecessary call to hide() NewFontDialog
This workaround has not been needed since 5c92397
This commit is contained in:
parent
e2762d8956
commit
1ee78c40ae
1 changed files with 0 additions and 1 deletions
|
@ -116,7 +116,6 @@ ErrorOr<void> MainWidget::create_actions()
|
||||||
auto new_font_wizard = NewFontDialog::construct(window());
|
auto new_font_wizard = NewFontDialog::construct(window());
|
||||||
if (new_font_wizard->exec() != GUI::Dialog::ExecResult::OK)
|
if (new_font_wizard->exec() != GUI::Dialog::ExecResult::OK)
|
||||||
return;
|
return;
|
||||||
new_font_wizard->hide();
|
|
||||||
auto maybe_font = new_font_wizard->create_font();
|
auto maybe_font = new_font_wizard->create_font();
|
||||||
if (maybe_font.is_error())
|
if (maybe_font.is_error())
|
||||||
return show_error(maybe_font.release_error(), "Creating new font failed"sv);
|
return show_error(maybe_font.release_error(), "Creating new font failed"sv);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue