1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:35:08 +00:00

LibGUI: Reset hovered section when mouse cursor leaves a HeaderView

This commit is contained in:
Andreas Kling 2020-08-26 14:12:17 +02:00
parent 30ad295fa1
commit 3f4df7c6da

View file

@ -302,6 +302,7 @@ void HeaderView::context_menu_event(ContextMenuEvent& event)
void HeaderView::leave_event(Core::Event& event)
{
Widget::leave_event(event);
set_hovered_section(-1);
window()->set_override_cursor(StandardCursor::None);
}