From 254b17ba2a143752b11efca26607e8c044604068 Mon Sep 17 00:00:00 2001 From: Cédric Bosdonnat Date: Thu, 15 Sep 2011 11:37:38 +0200 Subject: Header/Footer: don't show the separators if mouse isn't over SwEditWin --- sw/source/ui/docvw/edtwin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index 8b1ccca3cd97..41d77615a784 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -5405,7 +5405,7 @@ IMPL_LINK( SwEditWin, KeyInputTimerHandler, Timer *, EMPTYARG ) IMPL_LINK( SwEditWin, OverHeaderFooterHandler, Timer *, EMPTYARG ) { - if ( !GetView().GetWrtShell().IsHeaderFooterEdit() ) + if ( !GetView().GetWrtShell().IsHeaderFooterEdit() && IsMouseOver() ) { // Toggle the Header/Footer separator sal_Bool bShown = GetView().GetWrtShell().IsShowHeaderFooterSeparator( ); -- cgit