diff options
-rw-r--r-- | Servers/WindowServer/WSMenu.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Servers/WindowServer/WSMenu.cpp b/Servers/WindowServer/WSMenu.cpp index 6cb797e459..1cacfa534e 100644 --- a/Servers/WindowServer/WSMenu.cpp +++ b/Servers/WindowServer/WSMenu.cpp @@ -239,6 +239,9 @@ void WSMenu::clear_hovered_item() void WSMenu::did_activate(WSMenuItem& item) { + if (item.type() == WSMenuItem::Type::Separator) + return; + if (on_item_activation) on_item_activation(item); |