diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-11 16:37:40 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-11 16:37:40 +0000 |
commit | 5cba163749ee3d0ec4320fb094b6091a6843afdc (patch) | |
tree | dbd0f344d960bd502303396090b21666a0f16bf3 | |
parent | e62123fac60b1aad300cc7fde7020bad164e3c35 (diff) |
INTEGRATION: CWS vcl07 (1.23.20.1.16); FILE MERGED
2003/03/26 11:29:00 tbe 1.23.20.1.16.1: #106204# Breakpoint dialog cannot be accessed via Keyboard
-rw-r--r-- | basctl/source/basicide/basides1.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index 184a98052e84..9fbfb826df6f 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -2,9 +2,9 @@ * * $RCSfile: basides1.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: hr $ $Date: 2003-03-18 16:17:05 $ + * last change: $Author: vg $ $Date: 2003-04-11 17:37:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -842,6 +842,7 @@ void __EXPORT BasicIDEShell::GetState(SfxItemSet &rSet) case SID_BASICSTEPOVER: case SID_BASICSTEPOUT: case SID_BASICIDE_TOGGLEBRKPNT: + case SID_BASICIDE_MANAGEBRKPNTS: { if ( !pCurWin || !pCurWin->IsA( TYPE( ModulWindow ) ) ) rSet.DisableItem( nWh ); @@ -1340,7 +1341,10 @@ IMPL_LINK( BasicIDEShell, AccelSelectHdl, Accelerator*, pAccel ) pDispatcher->Execute( SID_BASICSTEPINTO, SFX_CALLMODE_SYNCHRON ); break; case KEY_F9: - pDispatcher->Execute( SID_BASICIDE_TOGGLEBRKPNT, SFX_CALLMODE_SYNCHRON ); + if ( pAccel->GetCurKeyCode().IsShift() ) + pDispatcher->Execute( SID_BASICIDE_TOGGLEBRKPNTENABLED, SFX_CALLMODE_SYNCHRON ); + else + pDispatcher->Execute( SID_BASICIDE_TOGGLEBRKPNT, SFX_CALLMODE_SYNCHRON ); break; default: bDone = FALSE; } |