summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-07-05 15:50:28 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-07-05 15:50:40 +0200
commit44b33ef427c4457897d7d54fe0f63a4b3570668b (patch)
tree3bc3cdfa9ded8924474437fcf5cf98abfb834627 /sw/source/ui
parent3cbf5d1111fdae333d3a0f45bfc96935989002be (diff)
Header/Footer: when changing the mode, don't continue to handle the click
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/docvw/edtwin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index e4b91adf62a4..ede0af01b4f4 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -2607,9 +2607,9 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
( !rSh.IsHeaderFooterEdit() && bOverHdrFtr ) )
{
if ( rMEvt.GetButtons() == MOUSE_LEFT && rMEvt.GetClicks( ) == 2 )
- rSh.ToggleHeaderFooterEdit();
- else
- return;
+ rSh.ToggleHeaderFooterEdit( );
+
+ return;
}
if ( IsChainMode() )