sw/source/ui/docvw/PageBreakWin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cbb047527d856258b7b925dc37f56f0e9b0b3e90
Author: Ivan Timofeev <timofeev....@gmail.com>
Date:   Fri Aug 10 16:14:17 2012 +0400

    Page Break: don't show if mouse is gone and button is still invisible 
(fdo#46518)
    
    it seems when the mouse leaves the dashed line, it immediately appears 
inside
    a button (if the mouse motion is not super-fast).
    
    Change-Id: I43c792fdba59feafd761bde8529a8683c07bf3d3
    
    Signed-off-by: Petr Mladek <pmla...@suse.cz>

diff --git a/sw/source/ui/docvw/PageBreakWin.cxx 
b/sw/source/ui/docvw/PageBreakWin.cxx
index c96f280..02a3dcb 100644
--- a/sw/source/ui/docvw/PageBreakWin.cxx
+++ b/sw/source/ui/docvw/PageBreakWin.cxx
@@ -87,7 +87,7 @@ namespace
         {
             // don't fade if we just move to the 'button'
             Point aEventPos( GetPosPixel() + rMEvt.GetPosPixel() );
-            if ( !m_pWin->Contains( aEventPos ) )
+            if ( !m_pWin->Contains( aEventPos ) || !m_pWin->IsVisible() )
                 m_pWin->Fade( false );
         }
         else if ( !m_pWin->IsVisible() )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to