diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-26 14:12:17 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-26 17:00:40 +0200 |
commit | 3f4df7c6da28de52027a266f5cf754d1ff8d1428 (patch) | |
tree | f97ae446083ec45c18c869302a7583225d59a600 /Libraries/LibGUI | |
parent | 30ad295fa190992520d51c1370b662126e191606 (diff) | |
download | serenity-3f4df7c6da28de52027a266f5cf754d1ff8d1428.zip |
LibGUI: Reset hovered section when mouse cursor leaves a HeaderView
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r-- | Libraries/LibGUI/HeaderView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/HeaderView.cpp b/Libraries/LibGUI/HeaderView.cpp index 1f88b20d6c..271cc6a312 100644 --- a/Libraries/LibGUI/HeaderView.cpp +++ b/Libraries/LibGUI/HeaderView.cpp @@ -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); } |