diff options
author | Oliver Specht <os@openoffice.org> | 2002-10-08 12:55:14 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-10-08 12:55:14 +0000 |
commit | c382673cac41e40d61fed08ee0ed648e208a627a (patch) | |
tree | 6b0d7ea337895a5a8f9d0917a2298e807b06d85b /sw/source/ui/misc | |
parent | 232e9572d94c95ee5e3e20d424822030bcbbc748 (diff) |
#98883# select redlines in text with focus, only
Diffstat (limited to 'sw/source/ui/misc')
-rw-r--r-- | sw/source/ui/misc/redlndlg.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/ui/misc/redlndlg.cxx b/sw/source/ui/misc/redlndlg.cxx index 2ea8a6e5efa1..edeb2d54e361 100644 --- a/sw/source/ui/misc/redlndlg.cxx +++ b/sw/source/ui/misc/redlndlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: redlndlg.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: dvo $ $Date: 2002-08-30 14:48:41 $ + * last change: $Author: os $ $Date: 2002-10-08 13:55:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1320,7 +1320,8 @@ IMPL_LINK( SwRedlineAcceptDlg, GotoHdl, void*, EMPTYARG ) BOOL bSel = FALSE; BOOL bReadonlySel = FALSE; - SvLBoxEntry* pSelEntry = pTable->FirstSelected(); + //#98883# don't select redlines while the dialog is not focussed + SvLBoxEntry* pSelEntry = pTable->HasFocus() ? pTable->FirstSelected() : 0; if( pSelEntry ) { SvLBoxEntry* pActEntry = pSelEntry; |