From 18671614cfdd2bcb935db59fe92b0de3a6ed578c Mon Sep 17 00:00:00 2001 From: Stephan Schäfer Date: Thu, 25 Apr 2002 11:19:03 +0000 Subject: #98862# activate menu bar only whithout shift --- vcl/source/window/menu.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/source/window') diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index c7b8555a8fdf..ed7fe970ac08 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -2,9 +2,9 @@ * * $RCSfile: menu.cxx,v $ * - * $Revision: 1.39 $ + * $Revision: 1.40 $ * - * last change: $Author: ssa $ $Date: 2002-04-24 14:41:23 $ + * last change: $Author: ssa $ $Date: 2002-04-25 12:16:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -3700,7 +3700,7 @@ BOOL MenuBarWindow::ImplHandleKeyEvent( const KeyEvent& rKEvent, BOOL bFromMenu } } - if ( nCode == KEY_MENU ) + if ( nCode == KEY_MENU && !rKEvent.GetKeyCode().IsShift() ) // only F10, not Shift-F10 { mbAutoPopup = FALSE; if ( nHighlightedItem == ITEMPOS_INVALID ) -- cgit