diff --git a/components/spktoolbar/SpkToolbar/SpkToolbar.pas b/components/spktoolbar/SpkToolbar/SpkToolbar.pas index c2350c758..bfb1e1881 100644 --- a/components/spktoolbar/SpkToolbar/SpkToolbar.pas +++ b/components/spktoolbar/SpkToolbar/SpkToolbar.pas @@ -2579,13 +2579,13 @@ begin SetMetricsInvalid; Repaint; - // Dropdown the Menu button dropdown menu and fire the event for click + // Dropdown the Menu button dropdown menu or fire the event for click if Assigned(FMenuButtonDropdownMenu) and (FShowMenuButton) then begin aPopupPoint := ClientToScreen(GetMenuButtonDropdownPoint); TPopupMenu(FMenuButtonDropdownMenu).PopUp(aPopupPoint.X, aPopupPoint.Y); - DoMenuButtonClick; - end; + end else + DoMenuButtonClick; end; // Support for Menu Button click