1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:07:34 +00:00

Help: Don't abort opening help:// URLs when error *didn't* occur

Fixes #14158
This commit is contained in:
Andreas Kling 2023-03-22 13:06:35 +01:00
parent 96f8cf2971
commit 26a4e4d23d

View file

@ -121,7 +121,7 @@ MainWidget::MainWidget()
return;
}
auto maybe_path = maybe_page.value()->path();
if (!maybe_path.is_error())
if (maybe_path.is_error())
return;
open_page(maybe_path.release_value());
} else {