diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-08-10 18:05:13 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-08-10 18:19:06 +0400 |
commit | a7b26dbf7b4c59b34fed9957c32a41348bfd6f77 (patch) | |
tree | eff793abdac40561ad760b9bd5c635764f5b2d1f /sw | |
parent | 61df142e9398dee581935a4967f50ba0bd1d5235 (diff) |
Page Break: set position only when button is invisible
and don't let the moribund fading-out button pursue the mouse
Change-Id: I6f821f7e8144e9448c1cb65f8ce96102419cd6f0
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/docvw/PageBreakWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/docvw/PageBreakWin.cxx b/sw/source/ui/docvw/PageBreakWin.cxx index d6d7e6531b1b..53160d12ccbe 100644 --- a/sw/source/ui/docvw/PageBreakWin.cxx +++ b/sw/source/ui/docvw/PageBreakWin.cxx @@ -95,7 +95,7 @@ namespace m_pWin->Fade( true ); } - if ( !rMEvt.IsSynthetic() ) + if ( !rMEvt.IsSynthetic() && !m_pWin->IsVisible() ) { Point* pPtr = new Point( rMEvt.GetPosPixel() ); m_pWin->UpdatePosition( pPtr ); |