diff options
-rw-r--r-- | Userland/Applications/Help/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Applications/Help/main.cpp b/Userland/Applications/Help/main.cpp index 5a310ff904..05d9ed6716 100644 --- a/Userland/Applications/Help/main.cpp +++ b/Userland/Applications/Help/main.cpp @@ -163,6 +163,9 @@ int main(int argc, char* argv[]) tree_view.on_selection_change = [&] { String path = model->page_path(tree_view.selection().first()); + if (path.is_null()) + return; + history.push(path); update_actions(); open_page(path); |