[Libreoffice-commits] core.git: Branch 'libreoffice-6-0-5' - sd/source

Caolán McNamara caolanm at redhat.com
Mon Jun 18 10:19:59 UTC 2018


 sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit c5cc6a7289d8f891faa63bf0f37bbad3217d129a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jun 11 12:31:08 2018 +0100

    tdf#118068 InsertionIndicator should be temporary
    
    its original use is during a drag/drop operation so its expected to
    be in use just for a temporary scope, so End after Start
    
    Change-Id: I3efdc4079ef7e1466b49e027fed0698715b5fd58
    Reviewed-on: https://gerrit.libreoffice.org/55667
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
index b299f00ed748..7dd38464e582 100644
--- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
@@ -1098,12 +1098,16 @@ bool NormalModeHandler::ProcessButtonDownEvent (
             pInsertionIndicatorHandler->UpdatePosition(
                     rDescriptor.maMousePosition,
                     InsertionIndicatorHandler::MoveMode);
+
             mrSlideSorter.GetController().GetSelectionManager()->SetInsertionPosition(
                 pInsertionIndicatorHandler->GetInsertionPageIndex());
 
             mrSlideSorter.GetViewShell()->GetDispatcher()->Execute(
                 SID_INSERTPAGE,
                 SfxCallMode::ASYNCHRON | SfxCallMode::RECORD);
+
+            pInsertionIndicatorHandler->End(Animator::AM_Immediate);
+
             break;
         }
 


More information about the Libreoffice-commits mailing list