From 65a927d16e0ef9621422746ee29cc2f9e45db6e3 Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Sun, 4 Jun 2023 14:33:39 +0200 Subject: [PATCH] Help: Clear statusbar when leaving link --- Userland/Applications/Help/MainWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Userland/Applications/Help/MainWidget.cpp b/Userland/Applications/Help/MainWidget.cpp index 515f160c05..8358e12b12 100644 --- a/Userland/Applications/Help/MainWidget.cpp +++ b/Userland/Applications/Help/MainWidget.cpp @@ -138,6 +138,9 @@ MainWidget::MainWidget() else m_statusbar->set_text({}); }; + m_web_view->on_link_unhover = [this] { + m_statusbar->set_text({}); + }; m_go_back_action = GUI::CommonActions::make_go_back_action([this](auto&) { m_history.go_back();