[Libreoffice-commits] core.git: sw/source

Jim Raykowski (via logerrit) logerrit at kemper.freedesktop.org
Sun Nov 8 00:22:10 UTC 2020


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

New commits:
commit c784b3da15102caf1022e83371863a86766e69cd
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Wed Nov 4 19:13:24 2020 -0900
Commit:     Jim Raykowski <raykowj at gmail.com>
CommitDate: Sun Nov 8 01:21:18 2020 +0100

    Drop outline content visibility window Ctrl+click action
    
    Resolves inconsistent behavior of toggling content visibility including
    sub outline content visibility compared to mouse over heading
    Ctrl+lclick behavior which toggles content visibility to next outline
    paragraph and does not including sub outline content.
    
    Change-Id: I1f9e676df09dbbf489bc2450ebaae124e82d4917
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105323
    Tested-by: Jenkins
    Reviewed-by: Jim Raykowski <raykowj at gmail.com>

diff --git a/sw/source/uibase/docvw/OutlineContentVisibilityWin.cxx b/sw/source/uibase/docvw/OutlineContentVisibilityWin.cxx
index e554534a34bc..e45a750cc22e 100644
--- a/sw/source/uibase/docvw/OutlineContentVisibilityWin.cxx
+++ b/sw/source/uibase/docvw/OutlineContentVisibilityWin.cxx
@@ -221,7 +221,7 @@ void SwOutlineContentVisibilityWin::MouseMove(const MouseEvent& rMEvt)
 
 void SwOutlineContentVisibilityWin::MouseButtonDown(const MouseEvent& rMEvt)
 {
-    ToggleOutlineContentVisibility(rMEvt.IsRight() || rMEvt.IsMod1());
+    ToggleOutlineContentVisibility(rMEvt.IsRight());
 }
 
 IMPL_LINK_NOARG(SwOutlineContentVisibilityWin, DelayHandler, Timer*, void)


More information about the Libreoffice-commits mailing list