summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-06-28 13:16:33 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-06-28 13:16:33 +0000
commit69c3f18bd7b94090bb39f0673ba0b1f7b7b0f929 (patch)
treed4c4edf833a1af54f92cfcfb61b0eda55c9c6acc /basctl
parent0982db35c30b70532dd1cb2d933ed680cfb0da82 (diff)
INTEGRATION: CWS tbe10 (1.30.10); FILE MERGED
2004/06/04 10:50:35 tbe 1.30.10.1: #i29867# change Basic IDE keyboard shortcut for BasicStop
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basides1.cxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index f3d7467af9e3..c4838e2f47c7 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: basides1.cxx,v $
*
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
- * last change: $Author: rt $ $Date: 2004-05-19 08:01:23 $
+ * last change: $Author: hr $ $Date: 2004-06-28 14:16:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1486,13 +1486,10 @@ IMPL_LINK( BasicIDEShell, AccelSelectHdl, Accelerator*, pAccel )
switch ( pAccel->GetCurKeyCode().GetCode() )
{
case KEY_F5:
- if ( pAccel->GetCurKeyCode().IsShift() || pAccel->GetCurKeyCode().IsMod2() )
+ if ( pAccel->GetCurKeyCode().IsShift() )
pDispatcher->Execute( SID_BASICSTOP, SFX_CALLMODE_SYNCHRON );
- if ( !pAccel->GetCurKeyCode().IsMod2() )
- {
- // Muss asynchron sein, damit ggf. STOP wirken kan (Reschedule).
- pDispatcher->Execute( SID_BASICRUN, SFX_CALLMODE_ASYNCHRON );
- }
+ else
+ pDispatcher->Execute( SID_BASICRUN, SFX_CALLMODE_SYNCHRON );
break;
case KEY_F7:
pDispatcher->Execute( SID_BASICIDE_ADDWATCH, SFX_CALLMODE_SYNCHRON );