summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/wrtsh/wrtsh2.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/ui/wrtsh/wrtsh2.cxx b/sw/source/ui/wrtsh/wrtsh2.cxx
index 72d4cbd8324f..01e4e31635e0 100644
--- a/sw/source/ui/wrtsh/wrtsh2.cxx
+++ b/sw/source/ui/wrtsh/wrtsh2.cxx
@@ -257,7 +257,10 @@ void SwWrtShell::ClickToField( const SwField& rFld )
}
- Right( CRSR_SKIP_CHARS, sal_True, 1, sal_False ); // Feld selektieren
+ StartAllAction();
+ Right( CRSR_SKIP_CHARS, true, 0, false ); // Select the field.
+ NormalizePam(); // Cursor at the beginning of it.
+ EndAllAction();
if( nSlotId )
{